Skip to content

Bump Swatinem/rust-cache from 2.7.0 to 2.7.1 #114

Bump Swatinem/rust-cache from 2.7.0 to 2.7.1

Bump Swatinem/rust-cache from 2.7.0 to 2.7.1 #114

Workflow file for this run

name: Static Analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Rustfmt
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust Nightly
uses: actions-rs/[email protected]
with:
toolchain: nightly
override: true
profile: minimal
components: clippy
- name: Run Clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
mdtomlfmt:
name: Generic format (md,toml)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run dprint
run: |
curl -fsSL https://dprint.dev/install.sh | sh
/home/runner/.dprint/bin/dprint check