Skip to content

Commit

Permalink
Fix workflow lints
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanshade committed Aug 26, 2023
1 parent 6f76c02 commit 92aa598
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:

env:
CARGO_TERM_COLOR: always
# Set `RUST_NIGHTLY_TOOLCHAIN` once globally to silence linter. Overwritten in jobs.
# For context see https://github.com/github/vscode-github-actions/issues/96
RUST_NIGHTLY_TOOLCHAIN: nightly

jobs:
cargo-deny:
Expand Down Expand Up @@ -101,7 +104,7 @@ jobs:
with:
path: ${{ runner.tool_cache }}/cargo-tarpaulin/bin
key: cargo-tarpaulin-bin-${{ hashFiles('.github/caching/cargo-tarpaulin.lock') }}
- if: "steps.cache-cargo-tarpaulin.outputs.cache-hit != 'true'"
- if: steps.cache-cargo-tarpaulin.outputs.cache-hit != 'true'
run: cargo install --root ${{ runner.tool_cache }}/cargo-tarpaulin --force cargo-tarpaulin
- run: echo "${{ runner.tool_cache }}/cargo-tarpaulin/bin" >> $GITHUB_PATH
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -135,7 +138,7 @@ jobs:
with:
path: ${{ runner.tool_cache }}/cargo-valgrind/bin
key: cargo-valgrind-bin-${{ hashFiles('.github/caching/cargo-valgrind.lock') }}
- if: "steps.cache-cargo-valgrind.outputs.cache-hit != 'true'"
- if: steps.cache-cargo-valgrind.outputs.cache-hit != 'true'
run: cargo install --root ${{ runner.tool_cache }}/cargo-valgrind --force cargo-valgrind
- run: echo "${{ runner.tool_cache }}/cargo-valgrind/bin" >> $GITHUB_PATH
- uses: Swatinem/rust-cache@v2
Expand Down

0 comments on commit 92aa598

Please sign in to comment.