File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
uses : hecrj/setup-rust-action@v1
12
12
with :
13
13
components : rustfmt
14
- # Note that `nightly` is required for `license_template_path`, as
15
- # it's an unstable feature.
16
- rust-version : nightly
14
+ rust-version : nightly-2022-03-08
17
15
- uses : actions/checkout@v2
18
- - run : cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
16
+ - run : cargo fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
19
17
20
18
lint :
21
19
runs-on : ubuntu-latest
24
22
uses : hecrj/setup-rust-action@v1
25
23
with :
26
24
components : clippy
25
+ rust-version : nightly-2022-03-08
27
26
- uses : actions/checkout@v2
28
27
- run : cargo clippy --all-targets --all-features -- -D warnings
29
28
@@ -42,13 +41,14 @@ jobs:
42
41
uses : hecrj/setup-rust-action@v1
43
42
with :
44
43
targets : ' thumbv6m-none-eabi'
44
+ rust-version : nightly-2022-03-08
45
45
- uses : actions/checkout@master
46
46
- run : cargo check --no-default-features --target thumbv6m-none-eabi
47
47
48
48
test :
49
49
strategy :
50
50
matrix :
51
- rust : [stable, beta, nightly]
51
+ rust : [stable, beta, nightly, nightly-2022-03-08 ]
52
52
runs-on : ubuntu-latest
53
53
steps :
54
54
- name : Setup Rust
Original file line number Diff line number Diff line change 1
- stable
1
+ nightly-2022-03-08
You can’t perform that action at this time.
0 commit comments