fix ci: add missing job for watcher

This commit is contained in:
Kiril Videlov 2024-05-06 21:15:56 +02:00
parent 0b903bcaef
commit d7eccf78e2
No known key found for this signature in database

View File

@ -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