Skip to content

Commit 6b9490f

Browse files
JohnTitorcathay4t
authored andcommitted
Drop actions-rs actions
Signed-off-by: Yuki Okushi <[email protected]>
1 parent 55a0653 commit 6b9490f

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

Diff for: .github/workflows/clippy-rustfmt.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ jobs:
1919
- uses: actions/checkout@v3
2020

2121
- name: Install Rust Nightly
22-
uses: actions-rs/toolchain@v1
23-
with:
24-
toolchain: nightly
25-
override: true
26-
components: rustfmt, clippy
22+
run: |
23+
rustup override set nightly
24+
rustup update nightly
25+
rustup component add rustfmt clippy
2726
2827
- name: rustfmt
2928
run: cargo fmt --all -- --check

Diff for: .github/workflows/main.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ jobs:
1616
- uses: actions/checkout@v3
1717

1818
- name: Install Rust Stable
19-
uses: actions-rs/toolchain@v1
20-
with:
21-
toolchain: stable
22-
override: true
23-
components: cargo, llvm-tools-preview
19+
run: |
20+
rustup override set stable
21+
rustup update stable
22+
rustup component add llvm-tools-preview
2423
2524
- name: Install cargo-llvm-cov
2625
uses: taiki-e/install-action@cargo-llvm-cov
@@ -32,5 +31,3 @@ jobs:
3231
with:
3332
files: lcov.info
3433
fail_ci_if_error: true
35-
36-

0 commit comments

Comments
 (0)