Skip to content

Fix clippy

Fix clippy #97

Workflow file for this run

name: Rust
on:
push:
branches: ["develop"]
pull_request:
branches: ["develop"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --workspace --verbose
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Formatting
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy -- -D warnings
semver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v1
with:
crate-name: pindakaas