Skip to content

Commit 061af29

Browse files
committed
CI/benches: fix default working directory
1 parent 6816d17 commit 061af29

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/benches.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,21 @@ on:
66
- ".github/workflows/benches.yml"
77
- "benches/**"
88

9-
defaults:
10-
run:
11-
working-directory: ./benches
12-
139
jobs:
1410
benches:
1511
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: ./benches
1615
steps:
1716
- uses: actions/checkout@v4
1817
- uses: dtolnay/rust-toolchain@master
1918
with:
2019
toolchain: nightly
2120
components: clippy, rustfmt
2221
- name: Rustfmt
23-
run: cargo fmt --all -- --check
22+
run: cargo fmt -- --check
2423
- name: Clippy
25-
run: cargo clippy --all --all-targets -- -D warnings
24+
run: cargo clippy --all-targets -- -D warnings
2625
- name: Build
2726
run: RUSTFLAGS=-Dwarnings cargo build --all-targets

0 commit comments

Comments
 (0)