Skip to content

Commit

Permalink
let CI run cargo check on the workspace on Windows
Browse files Browse the repository at this point in the history
That way, we will catch basic breakage early.
  • Loading branch information
Byron committed Apr 18, 2024
1 parent 125b329 commit 300a90f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ jobs:
- check-gitbutler-core
- check-gitbutler-changeset
- check-gitbutler-git
- check-rust-windows
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
Expand All @@ -211,3 +212,12 @@ jobs:
allowed-skips: ${{ toJSON(needs) }}
jobs: ${{ toJSON(needs) }}

check-rust-windows:
needs: changes
runs-on: windows-latest
if: ${{ needs.changes.outputs.rust == 'true' }}
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: "cargo check"
run: cargo check --all --bins --examples

0 comments on commit 300a90f

Please sign in to comment.