Skip to content

Commit

Permalink
CI: actions-rs/cargo erased
Browse files Browse the repository at this point in the history
actions-rs/cargo in unmaintained.
It uses Node.js 12 actions, which are deprecated.
It raises warnings at all tests.
We are replacing it and just calling cargo at "run" statements
Closes: #56

Signed-off-by: Rafael Garcia Ruiz <[email protected]>
  • Loading branch information
Razaloc committed Dec 16, 2022
1 parent ab2f617 commit b26958b
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-features
- run: cargo check --all-features

fmt:
name: cargo fmt
Expand All @@ -31,10 +28,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check
- run: cargo fmt --all --check

test:
name: cargo test
Expand All @@ -46,9 +40,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: test
- run: cargo test

clippy:
name: cargo clippy
Expand All @@ -58,10 +50,8 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- run: cargo clippy -- -D warnings

# Job to key the bors success status against
bors:
name: bors
Expand Down

0 comments on commit b26958b

Please sign in to comment.