Skip to content

build(deps): bump the rust-minor-patch group across 1 directory with 12 updates #705

build(deps): bump the rust-minor-patch group across 1 directory with 12 updates

build(deps): bump the rust-minor-patch group across 1 directory with 12 updates #705

Workflow file for this run

name: check
on:
push:
branches: [develop]
pull_request:
permissions:
contents: read
jobs:
fmt:
name: fmt (stable)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: cargo fmt --check
run: cargo fmt --check
clippy:
name: clippy (${{ matrix.toolchain }})
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
strategy:
fail-fast: false
matrix:
toolchain: [stable, beta]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
components: clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: cargo clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
cargo-nix:
name: cargo-nix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- run: nix run .#generate
- run: git diff --exit-code