Skip to content

Commit

Permalink
Check formatting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Sep 24, 2024
1 parent 84ad993 commit d9e4e2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@ jobs:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
env:
RUSTFLAGS: -Dwarnings
- name: Run tests
run: cargo test --verbose
env:
RUSTFLAGS: -Dwarnings
- name: Check formatting
run: cargo fmt -- --check
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
*~

0 comments on commit d9e4e2f

Please sign in to comment.