Skip to content

Add Clippy CI testing #52

Add Clippy CI testing

Add Clippy CI testing #52

Workflow file for this run

name: test suite
# Pushes to long living branches and all PRs
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all-features
clippy:
strategy:
matrix:
rust_version: ["1.70.0", "1.75.0"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@${{ matrix.rust_version }}

Check failure on line 26 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test suite

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 26, Col: 15): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.rust_version
- run: cargo clippy --all-targets -- -D warnings