Skip to content

Commit 7a02251

Browse files
committed
build: remove actions-rs
Signed-off-by: YdrMaster <[email protected]>
1 parent 6f17599 commit 7a02251

File tree

3 files changed

+6
-23
lines changed

3 files changed

+6
-23
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v3
1818

19-
- name: Setup Rust Toolchain
20-
uses: actions-rs/toolchain@v1
21-
with:
22-
profile: minimal
23-
toolchain: nightly
24-
target: riscv64imac-unknown-none-elf
25-
override: true
26-
2719
- name: Cache Dependencies
2820
uses: Swatinem/rust-cache@v2
2921
with:

.github/workflows/workflow.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,12 @@ jobs:
1010
runs-on: ubuntu-20.04
1111
steps:
1212
- uses: actions/checkout@v3
13-
- uses: actions-rs/toolchain@v1
14-
with:
15-
profile: minimal
16-
toolchain: nightly
17-
components: rustfmt, clippy
18-
target: riscv64imac-unknown-none-elf
13+
1914
- name: Check format
20-
uses: actions-rs/cargo@v1
21-
with:
22-
command: fmt
23-
args: --all -- --check
15+
run: cargo fmt --all -- --check
16+
2417
- name: Clippy
25-
uses: actions-rs/cargo@v1
26-
with:
27-
command: clippy
18+
run: cargo clippy
2819

2920
test:
3021
needs: build

rust-toolchain.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2+
profile = "minimal"
23
channel = "nightly"
3-
components = ["llvm-tools-preview"]
4+
components = ["rust-src", "llvm-tools-preview", "rustfmt", "clippy"]
45
targets = ["riscv64imac-unknown-none-elf"]
5-
profile = "minimal"

0 commit comments

Comments
 (0)