Skip to content

Run cargo machete in CI and on just lint. #77

Run cargo machete in CI and on just lint.

Run cargo machete in CI and on just lint. #77

Workflow file for this run

name: test
on:
push:
jobs:
cargo-test:
name: run cargo test
runs-on: ubuntu-latest
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
RUSTFLAGS: "-D warnings" # fail on warnings
steps:
- uses: actions/checkout@v4
- name: install tools
run: |
rustup show
- uses: Swatinem/rust-cache@v2
with:
shared-key: "build" # share the cache across jobs
save-if: false
- name: run tests
run: cargo test --release --all-targets --all-features