Skip to content

Make clippy warnings non-blocking in CI #12

Make clippy warnings non-blocking in CI

Make clippy warnings non-blocking in CI #12

Workflow file for this run

name: Rust CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cargo check
run: cargo check --verbose
- name: Cargo test
run: cargo test --verbose --all
- name: Cargo clippy
run: cargo clippy --all-targets 2>cargo clippy --all-targets -- -D warnings1 | tee /tmp/clippy_output.txt || true
- name: Cargo fmt
run: cargo fmt --all -- --check