Skip to content

Commit

Permalink
fix ci: add missing job for watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
krlvi committed May 6, 2024
1 parent 0b903bc commit d7eccf7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -55,6 +56,9 @@ jobs:
gitbutler-cli:
- *rust
- 'crates/gitbutler-cli/**'
gitbutler-watcher:
- *rust
- 'crates/gitbutler-cli/**'
lint-node:
needs: changes
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit d7eccf7

Please sign in to comment.