Skip to content

Commit

Permalink
Add lint CI job (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
ezyang authored May 19, 2024
1 parent 7cf4fb9 commit 41830f5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ jobs:
profile: minimal
- name: Run Tests
run: cargo test --release -- --nocapture
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Install rustfmt
run: rustup component add rustfmt
- name: Run Lint
run: cargo fmt --check
linux:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 41830f5

Please sign in to comment.