Skip to content

Commit

Permalink
Merge pull request #347 from jpculp/print-rustc
Browse files Browse the repository at this point in the history
Print stable Rust version in actions runner
  • Loading branch information
jpculp authored Aug 15, 2024
2 parents 4ec8ade + cc299e0 commit 1afe110
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
key: ${{ hashFiles('.github/cache_bust') }}-${{ hashFiles('.github/workflows/rust.yml') }}-${{ runner.os }}-${{ matrix.features }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ hashFiles('.github/cache_bust') }}-${{ hashFiles('.github/workflows/rust.yml') }}-${{ runner.os }}-${{ matrix.features }}
- run: rustup default
# print the current rustc. replace stable to pin to a specific toolchain version.
- run: rustup default stable
- run: rustup component add rustfmt
- run: rustup component add clippy
- run: cargo test --features ${{ matrix.features }} ${{ matrix.additional_flags }} --locked
Expand Down

0 comments on commit 1afe110

Please sign in to comment.