Skip to content

Commit 6a46506

Browse files
authored
Fix benches CI job (#1456)
1 parent ba7f515 commit 6a46506

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/benches.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ on:
99
jobs:
1010
benches:
1111
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: ./benches
1215
steps:
1316
- uses: actions/checkout@v4
1417
- uses: dtolnay/rust-toolchain@master
1518
with:
1619
toolchain: nightly
1720
components: clippy, rustfmt
1821
- name: Rustfmt
19-
run: cargo fmt --all -- --check
22+
run: cargo fmt -- --check
2023
- name: Clippy
21-
run: cargo clippy --all --all-targets -- -D warnings
24+
run: cargo clippy --all-targets -- -D warnings
2225
- name: Build
2326
run: RUSTFLAGS=-Dwarnings cargo build --all-targets

0 commit comments

Comments
 (0)