Skip to content

Commit

Permalink
Fix benches CI job (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed May 24, 2024
1 parent ba7f515 commit 6a46506
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/benches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ on:
jobs:
benches:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./benches
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: clippy, rustfmt
- name: Rustfmt
run: cargo fmt --all -- --check
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy --all --all-targets -- -D warnings
run: cargo clippy --all-targets -- -D warnings
- name: Build
run: RUSTFLAGS=-Dwarnings cargo build --all-targets

0 comments on commit 6a46506

Please sign in to comment.