Skip to content

Migrate to GH Actions #3

Migrate to GH Actions

Migrate to GH Actions #3

Workflow file for this run

name: Lint
on:
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check spelling
uses: crate-ci/typos@master
with:
config: ./.typos.toml
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy --all-features --all-targets
- name: Format Check
run: cargo fmt --check
msrv:
name: MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.74.1 # msrv
- name: Check
run: cargo check