Skip to content

Bump Swatinem/rust-cache from 2.2.1 to 2.7.0 #100

Bump Swatinem/rust-cache from 2.2.1 to 2.7.0

Bump Swatinem/rust-cache from 2.2.1 to 2.7.0 #100

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@v3
- name: Run Rustfmt
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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 -- -D warnings
mdtomlfmt:
name: Generic format (md,toml)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run dprint
run: |
curl -fsSL https://dprint.dev/install.sh | sh
/home/runner/.dprint/bin/dprint check