Fix benches CI job (#1456)
This commit is contained in:
parent
ba7f5155d3
commit
6a4650691f
7
.github/workflows/benches.yml
vendored
7
.github/workflows/benches.yml
vendored
@ -9,6 +9,9 @@ on:
|
||||
jobs:
|
||||
benches:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./benches
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
@ -16,8 +19,8 @@ jobs:
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user