Skip to content

chore: release v0.1.10 #96

chore: release v0.1.10

chore: release v0.1.10 #96

Workflow file for this run

name: Linters
on:
workflow_call:
pull_request:
branches: ["main"]
env:
RUSTDOCFLAGS: "-Dwarnings"
RUSTFLAGS: "-Dwarnings"
CARGO_TERM_COLOR: "always"
jobs:
rust-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Run rustfmt
run: make rustfmt-check
- name: Run clippy
run: make clippy
rust-lint-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- uses: dtolnay/install@cargo-docs-rs
- name: Run doc-rs
run: make doc-rs
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
dockerfile: Dockerfile
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master