Skip to content

Bump the rust-minor-patch group with 2 updates #323

Bump the rust-minor-patch group with 2 updates

Bump the rust-minor-patch group with 2 updates #323

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 }}