Skip to content

chore(deps): update Leafwing-Studios/cargo-cache action to v1.2.0 (#107) #224

chore(deps): update Leafwing-Studios/cargo-cache action to v1.2.0 (#107)

chore(deps): update Leafwing-Studios/cargo-cache action to v1.2.0 (#107) #224

Workflow file for this run

name: ci
on:
pull_request:
push:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- name: Cache rust build files
uses: Leafwing-Studios/cargo-cache@c7e8aa40ae2c975774d3bd766beb92927cfd7771 # v1
- name: rustfmt
run: cargo fmt --all -- --check
- name: check (release)
run: cargo check --workspace --all-targets --all-features --release
- name: clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings --force-warn deprecated --force-warn dead-code
- name: unit-tests
run: cargo test --workspace --all-features --lib
- name: integration-tests
run: cargo test --workspace --all-features --tests '*'