Skip to content

ci: run clippy in the CI #202

ci: run clippy in the CI

ci: run clippy in the CI #202

Workflow file for this run

name: ci
on:
push:
pull_request:
branches:
- main
jobs:
test:
name: Linux Tester
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test --workspace
format:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: run rustfmt
uses: actions-rust-lang/rustfmt@v1
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
- name: run clippy
run: cargo clippy --workspace