Skip to content

Commit

Permalink
Add lint CI job
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Z. Yang <ezyang@meta.com>

ghstack-source-id: ba3efacea19f908fd6d4a4a86ddd684625e578e0
ghstack-comment-id: 2119373828
Pull Request resolved: #38
  • Loading branch information
ezyang committed May 19, 2024
1 parent 7cf4fb9 commit bfdc1d6
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 bfdc1d6

Please sign in to comment.