44
44
- uses : actions/checkout@v3
45
45
with :
46
46
persist-credentials : false
47
- - uses : taiki-e/github-actions/install- rust@main
47
+ - uses : dtolnay/ rust-toolchain@v1
48
48
with :
49
49
toolchain : ${{ matrix.rust }}
50
50
- uses : taiki-e/install-action@cargo-hack
73
73
- uses : actions/checkout@v3
74
74
with :
75
75
persist-credentials : false
76
- - uses : taiki-e/github-actions/install- rust@main
76
+ - uses : dtolnay/ rust-toolchain@nightly
77
77
with :
78
78
target : ${{ matrix.target }}
79
79
- uses : taiki-e/install-action@cross
@@ -102,7 +102,7 @@ jobs:
102
102
- uses : actions/checkout@v3
103
103
with :
104
104
persist-credentials : false
105
- - uses : taiki-e/github-actions/install- rust@main
105
+ - uses : dtolnay/ rust-toolchain@nightly
106
106
- run : CARGO_HACK_TEST_TOOLCHAIN=${{ matrix.rust }} cargo test --workspace --all-features
107
107
# Remove stable toolchain to disable https://github.com/taiki-e/cargo-hack/pull/138's behavior.
108
108
- run : rustup toolchain remove stable
@@ -123,9 +123,9 @@ jobs:
123
123
- uses : actions/checkout@v3
124
124
with :
125
125
persist-credentials : false
126
- - uses : taiki-e/github-actions/install- rust@main
126
+ - uses : dtolnay/ rust-toolchain@nightly
127
127
with :
128
- component : clippy,rustfmt
128
+ components : clippy,rustfmt
129
129
- uses : taiki-e/install-action@shellcheck
130
130
- run : cargo fmt --all --check
131
131
if : always()
0 commit comments