Skip to content

Commit de7898e

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

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/benches.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ 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
@@ -20,8 +16,11 @@ jobs:
2016
toolchain: nightly
2117
components: clippy, rustfmt
2218
- name: Rustfmt
19+
working-directory: ./benches
2320
run: cargo fmt --all -- --check
2421
- name: Clippy
22+
working-directory: ./benches
2523
run: cargo clippy --all --all-targets -- -D warnings
2624
- name: Build
25+
working-directory: ./benches
2726
run: RUSTFLAGS=-Dwarnings cargo build --all-targets

0 commit comments

Comments
 (0)