Skip to content

Commit

Permalink
assure CI runs the new library crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Mar 30, 2024
1 parent 8e91330 commit 63f75c9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
outputs:
node: ${{ steps.filter.outputs.node }}
rust: ${{ steps.filter.outputs.rust }}
gitbutler: ${{ steps.filter.outputs.gitbutler }}
gitbutler-app: ${{ steps.filter.outputs.gitbutler-app }}
gitbutler-changeset: ${{ steps.filter.outputs.gitbutler-changeset }}
gitbutler-git: ${{ steps.filter.outputs.gitbutler-git }}
Expand All @@ -36,6 +37,10 @@ jobs:
- 'gitbutler-!(ui)/**'
gitbutler-app:
- *any-rust
gitbutler:
- *rust
- 'src/**'
- 'tests/**'
gitbutler-changeset:
- *rust
- 'gitbutler-changeset/**'
Expand Down Expand Up @@ -97,6 +102,28 @@ jobs:
env:
RUSTDOCFLAGS: -Dwarnings

check-gitbutler:
needs: [changes, rust-init]
if: ${{ needs.changes.outputs.gitbutler == '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/check-crate
with:
crate: gitbutler
features: ${{ toJson(matrix.features) }}
action: ${{ matrix.action }}

check-gitbutler-app:
needs: [changes, rust-init]
if: ${{ needs.changes.outputs.gitbutler-app == 'true' }}
Expand Down

0 comments on commit 63f75c9

Please sign in to comment.