Skip to content

Merge pull request #141 from waywardmonkeys/fix-ci #3

Merge pull request #141 from waywardmonkeys/fix-ci

Merge pull request #141 from waywardmonkeys/fix-ci #3

Workflow file for this run

name: CI
on:
pull_request:
push:
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: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
name: cargo clippy + test
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy
- name: cargo clippy (bundled)
run: cargo clippy --features bundled -- -D warnings
- name: cargo test (bundled)
run: cargo test --features bundled