Skip to content

ci: Add cargo clippy to workflow #152

ci: Add cargo clippy to workflow

ci: Add cargo clippy to workflow #152

Workflow file for this run

name: cargo
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo test
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo fmt --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo clippy