Skip to content

Merge pull request #36 from waywardmonkeys/clippy-fixes #7

Merge pull request #36 from waywardmonkeys/clippy-fixes

Merge pull request #36 from waywardmonkeys/clippy-fixes #7

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
merge_group:
jobs:
rustfmt:
runs-on: ubuntu-latest
name: cargo fmt
steps:
- uses: actions/checkout@v4
- name: install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- name: cargo fmt
run: cargo fmt --all --check
test-stable:
runs-on: ubuntu-latest
name: cargo test
steps:
- uses: actions/checkout@v4
- name: install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: cargo test
run: cargo test
build-doc:
name: cargo docs-rs
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- uses: dtolnay/install@cargo-docs-rs
- run: cargo docs-rs