Skip to content

ci: Add clippy to CI #57

ci: Add clippy to CI

ci: Add clippy to CI #57

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- run: cargo test --locked
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- uses: wearerequired/lint-action@master
with:
rustfmt: true
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
- uses: wearerequired/lint-action@master
with:
clippy: true