Better rust GH action.

This commit is contained in:
Nicolas Patry 2023-08-09 18:42:53 +02:00
parent d9b4fef189
commit 749c8c7f51
1 changed files with 7 additions and 1 deletions

View File

@ -56,7 +56,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
override: true
- uses: Swatinem/rust-cache@v2
- name: Test (cuda)
run: cargo test --features cuda
stop-runner: