Skip to content

Commit

Permalink
Split lint into separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed May 17, 2024
1 parent c3d1274 commit fc57e30
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,17 @@ jobs:
if: matrix.min-rust-version
- name: Build
run: cargo build --all-features
- name: Check format
run: cargo fmt -- --check
- name: Docs
run: cargo doc --all-features
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/checkout@v4
- name: Check format
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy --all-targets --all-features -- --deny warnings
test:
name: Test
strategy:
Expand All @@ -54,5 +61,3 @@ jobs:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --all-features
- name: Run clippy
run: cargo clippy --all-targets --all-features -- --deny warnings

0 comments on commit fc57e30

Please sign in to comment.