Skip to content

Commit

Permalink
print stable rust version in actions runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jpculp committed Aug 2, 2024
1 parent 4ec8ade commit cc299e0
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 cc299e0

Please sign in to comment.