Release version 2.0.0 #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --all-features -- -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 |