Skip to content

Build(deps): bump lru from 0.16.1 to 0.16.3 in the cargo group across 1 directory #8

Build(deps): bump lru from 0.16.1 to 0.16.3 in the cargo group across 1 directory

Build(deps): bump lru from 0.16.1 to 0.16.3 in the cargo group across 1 directory #8

Workflow file for this run

name: Rust CI
on:
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- main
workflow_dispatch:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
nightly-test:
name: Test with nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@nightly
- name: Run tests
run: cargo test
test:
name: Test with stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- name: Run tests
run: cargo test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Enforce formatting
run: cargo fmt --all --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Linting
run: cargo clippy -- -D warnings
dependencies:
name: Unused dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Machete
uses: bnjbvr/cargo-machete@main