Skip to content

Commit

Permalink
CI/benches: fix default working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed May 24, 2024
1 parent 6816d17 commit de7898e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/benches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
- ".github/workflows/benches.yml"
- "benches/**"

defaults:
run:
working-directory: ./benches

jobs:
benches:
runs-on: ubuntu-latest
Expand All @@ -20,8 +16,11 @@ jobs:
toolchain: nightly
components: clippy, rustfmt
- name: Rustfmt
working-directory: ./benches
run: cargo fmt --all -- --check
- name: Clippy
working-directory: ./benches
run: cargo clippy --all --all-targets -- -D warnings
- name: Build
working-directory: ./benches
run: RUSTFLAGS=-Dwarnings cargo build --all-targets

0 comments on commit de7898e

Please sign in to comment.