Skip to content

Commit

Permalink
[ci] run all checks while failing the job
Browse files Browse the repository at this point in the history
Signed-off-by: unlsycn <[email protected]>
  • Loading branch information
unlsycn committed Sep 11, 2024
1 parent 06b23a9 commit 5c90cd8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/checkfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,16 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: "Check Scala format"
continue-on-error: true
if: "!cancelled()"
run: |
nix develop -c bash -c 'mill -i gcd.checkFormat && mill -i elaborator.checkFormat'
- name: "Check Rust format"
continue-on-error: true
if: "!cancelled()"
run: |
cd gcdemu
nix develop -c cargo fmt --check
cd ..
- name: "Check nix format"
continue-on-error: true
if: "!cancelled()"
run: |
nix fmt -- --check nix flake.nix

0 comments on commit 5c90cd8

Please sign in to comment.