File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 18
18
fail-fast : false
19
19
matrix :
20
20
include :
21
- - { rust: nightly, os: ubuntu-latest }
22
- - { rust: nightly, os: windows-latest }
21
+ - os : ubuntu-20.04
22
+ target : x86_64-unknown-linux-gnu
23
+ - os : windows-latest
24
+ target : x86_64-pc-windows-msvc
23
25
steps :
24
26
- name : Checkout repository
25
27
uses : actions/checkout@v2
@@ -30,11 +32,12 @@ jobs:
30
32
with :
31
33
cuda : ' 11.2.2'
32
34
33
- - name : Setup Rust
34
- uses : hecrj/setup-rust-action@v1
35
- with :
36
- rust-version : ${{ matrix.rust }}
37
- components : clippy,rustfmt
35
+ # random command that forces rustup to install stuff in rust-toolchain
36
+ - name : Install rust-toolchain
37
+ run : cargo version
38
+
39
+ - name : Add rustup components
40
+ run : rustup component add rustfmt clippy
38
41
39
42
- name : Load Rust Cache
40
43
uses : Swatinem/rust-cache@v1
You can’t perform that action at this time.
0 commit comments