Skip to content

Commit 42e7e64

Browse files
committed
refactor: [#165] remove unmantained workflow action to run cargo commmands
Replaced with using the `cargo` command directly.
1 parent b14270b commit 42e7e64

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/test_build_release.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ jobs:
1616
components: rustfmt, clippy
1717
- uses: Swatinem/rust-cache@v2
1818
- name: Check Rust Formatting
19-
uses: actions-rs/cargo@v1
20-
with:
21-
command: fmt
22-
args: --check
19+
run: cargo fmt --check
2320

2421
test:
2522
needs: format
@@ -34,15 +31,9 @@ jobs:
3431
components: llvm-tools-preview
3532
- uses: Swatinem/rust-cache@v2
3633
- name: Check Rust Code
37-
uses: actions-rs/cargo@v1
38-
with:
39-
command: check
40-
args: --all-targets
34+
run: cargo check --all-targets
4135
- name: Clippy Rust Code
42-
uses: actions-rs/cargo@v1
43-
with:
44-
command: clippy
45-
args: --all-targets -- -D clippy::pedantic
36+
run: cargo clippy --all-targets -- -D clippy::pedantic
4637
- uses: taiki-e/install-action@cargo-llvm-cov
4738
- uses: taiki-e/install-action@nextest
4839
- name: Run Tests

0 commit comments

Comments
 (0)