File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 20
20
- 1.52.1 # MSVR
21
21
steps :
22
22
- uses : actions/checkout@v2
23
+ # Important preparation step: override the latest default Rust version in GitHub CI
24
+ # with the current value of the iteration in the "strategy.matrix.rust"-array.
25
+ - uses : actions-rs/toolchain@v1
26
+ with :
27
+ profile : default
28
+ toolchain : ${{ matrix.rust }}
29
+ override : true
30
+ # helps to identify if the right cargo version is actually used
31
+ - run : cargo version
23
32
- name : Build
24
33
run : cargo build --verbose
25
34
- name : Run tests
35
44
- 1.52.1 # MSVR
36
45
steps :
37
46
- uses : actions/checkout@v2
47
+ # Important preparation step: override the latest default Rust version in GitHub CI
48
+ # with the current value of the iteration in the "strategy.matrix.rust"-array.
49
+ - uses : actions-rs/toolchain@v1
50
+ with :
51
+ profile : default
52
+ toolchain : ${{ matrix.rust }}
53
+ override : true
54
+ # helps to identify if the right cargo version is actually used
55
+ - run : cargo version
38
56
- name : " Rustup: install some no_std target"
39
57
run : rustup target add thumbv7em-none-eabihf
40
58
- name : Build (no_std)
50
68
- stable
51
69
steps :
52
70
- uses : actions/checkout@v2
71
+ # Important preparation step: override the latest default Rust version in GitHub CI
72
+ # with the current value of the iteration in the "strategy.matrix.rust"-array.
73
+ - uses : actions-rs/toolchain@v1
74
+ with :
75
+ profile : default
76
+ toolchain : ${{ matrix.rust }}
77
+ override : true
78
+ # helps to identify if the right cargo version is actually used
79
+ - run : cargo version
53
80
- name : Rustfmt
54
81
run : cargo fmt -- --check
55
82
- name : Clippy
You can’t perform that action at this time.
0 commit comments