Skip to content

Commit

Permalink
Merge pull request #100 from cakebaker/ci_replace_actions_rs_cargo
Browse files Browse the repository at this point in the history
ci: remove actions-rs/cargo & use cargo directly
  • Loading branch information
sylvestre authored Feb 5, 2024
2 parents 7b2916f + ffe79c7 commit 7304047
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ jobs:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
command: test
args: --features complete --workspace
- run: cargo test --features complete --workspace

rustfmt:
name: Rustfmt
Expand All @@ -37,10 +34,7 @@ jobs:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check

clippy:
name: Clippy
Expand All @@ -54,10 +48,7 @@ jobs:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Clippy check
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --features complete --workspace -- -D warnings
run: cargo clippy --all-targets --features complete --workspace -- -D warnings

docs:
name: Docs
Expand All @@ -71,6 +62,4 @@ jobs:
- name: Check documentation
env:
RUSTDOCFLAGS: -D warnings
uses: actions-rs/cargo@v1
with:
command: doc
run: cargo doc

0 comments on commit 7304047

Please sign in to comment.