Skip to content

make clippy happy again #235

make clippy happy again

make clippy happy again #235

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
tests:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install cargo-hack
uses: taiki-e/install-action@v2
with:
tool: cargo-hack
- run: cargo hack check --feature-powerset --exclude-features rustc-dep-of-std
- run: cargo hack clippy --feature-powerset --exclude-features rustc-dep-of-std
- run: cargo hack test --feature-powerset --exclude-features rustc-dep-of-std
clippy-nightly:
name: clippy nightly
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- run: cargo +nightly fmt --all -- --check
- run: cargo +nightly clippy --no-default-features -- -D warnings
- run: cargo +nightly clippy -- -D warnings