From d7eccf78e2c998fdb88d268343478db365ea3de0 Mon Sep 17 00:00:00 2001 From: Kiril Videlov Date: Mon, 6 May 2024 21:15:56 +0200 Subject: [PATCH] fix ci: add missing job for watcher --- .github/workflows/push.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index fca326363..d492779b0 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -19,6 +19,7 @@ jobs: gitbutler-changeset: ${{ steps.filter.outputs.gitbutler-changeset }} gitbutler-git: ${{ steps.filter.outputs.gitbutler-git }} gitbutler-cli: ${{ steps.filter.outputs.gitbutler-cli }} + gitbutler-watcher: ${{ steps.filter.outputs.gitbutler-watcher }} steps: - uses: actions/checkout@v4 - uses: dorny/paths-filter@v3 @@ -55,6 +56,9 @@ jobs: gitbutler-cli: - *rust - 'crates/gitbutler-cli/**' + gitbutler-watcher: + - *rust + - 'crates/gitbutler-cli/**' lint-node: needs: changes @@ -232,6 +236,31 @@ jobs: features: ${{ toJson(matrix.features) }} action: ${{ matrix.action }} + check-gitbutler-watcher: + needs: changes + if: ${{ needs.changes.outputs.gitbutler-watcher == 'true' }} + runs-on: ubuntu-latest + container: + image: ghcr.io/gitbutlerapp/ci-base-image:latest + strategy: + matrix: + action: + - test + - check + - check-tests + features: + - '' + - '*' + - [] + steps: + - uses: actions/checkout@v4 + - uses: ./.github/actions/init-env-rust + - uses: ./.github/actions/check-crate + with: + crate: gitbutler-watcher + features: ${{ toJson(matrix.features) }} + action: ${{ matrix.action }} + check-rust: if: always() needs: @@ -241,6 +270,7 @@ jobs: - check-gitbutler-changeset - check-gitbutler-git - check-gitbutler-cli + - check-gitbutler-watcher - check-rust-windows - rust-lint runs-on: ubuntu-latest