Skip to content

Fix cargo clippy

Fix cargo clippy #15

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test-dcf:
name: Test dcf
runs-on: ubuntu-latest
working-directory: dcf

Check failure on line 11 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 11, Col: 5): Unexpected value 'working-directory'
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Test with multithreading
run: cargo test -F prg
- name: Test without multithreading
run: cargo test -F prg --no-default-features
- run: cargo fmt --check
- run: cargo clippy --all-features -- --no-deps -Dwarnings