Skip to content

Commit 138197f

Browse files
JohnTitorsyphar
authored andcommitted
Remove use of actions-rs
Signed-off-by: Yuki Okushi <[email protected]>
1 parent 781a276 commit 138197f

File tree

1 file changed

+13
-22
lines changed

1 file changed

+13
-22
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@master
2626
- id: install
27-
uses: actions-rs/toolchain@v1
28-
with:
29-
toolchain: stable
30-
override: true
27+
run: |
28+
rustup override set stable
29+
rustup update stable
3130
3231
- name: restore build & cargo cache
3332
uses: Swatinem/rust-cache@v1
@@ -129,16 +128,12 @@ jobs:
129128
steps:
130129
- uses: actions/checkout@master
131130
- id: install
132-
uses: actions-rs/toolchain@v1
133-
with:
134-
toolchain: stable
135-
override: true
136-
components: rustfmt
131+
run: |
132+
rustup override set stable
133+
rustup update stable
134+
rustup component add rustfmt
137135
138-
- uses: actions-rs/cargo@v1
139-
with:
140-
command: fmt
141-
args: -- --check
136+
- run: cargo fmt -- --check
142137

143138
clippy:
144139
name: Clippy
@@ -147,16 +142,12 @@ jobs:
147142
steps:
148143
- uses: actions/checkout@master
149144
- id: install
150-
uses: actions-rs/toolchain@v1
151-
with:
152-
toolchain: stable
153-
override: true
154-
components: clippy
145+
run: |
146+
rustup override set stable
147+
rustup update stable
148+
rustup component add clippy
155149
156150
- name: restore build & cargo cache
157151
uses: Swatinem/rust-cache@v1
158152

159-
- uses: actions-rs/cargo@v1
160-
with:
161-
command: clippy
162-
args: --all-features --all-targets --workspace --locked -- -D warnings
153+
- run: cargo clippy --all-features --all-targets --workspace --locked -- -D warnings

0 commit comments

Comments
 (0)