|
|
|
@ -1,8 +1,6 @@
|
|
|
|
|
name: CI
|
|
|
|
|
on: [pull_request, push]
|
|
|
|
|
env:
|
|
|
|
|
CARGO_INCREMENTAL: 0
|
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
RUSTFLAGS: "-C debuginfo=0 -D warnings"
|
|
|
|
|
jobs:
|
|
|
|
|
check:
|
|
|
|
@ -56,7 +54,7 @@ jobs:
|
|
|
|
|
- name: Configure cache
|
|
|
|
|
uses: Swatinem/rust-cache@v2
|
|
|
|
|
- name: Run clippy
|
|
|
|
|
run: cargo clippy -- -D warnings
|
|
|
|
|
run: cargo clippy --all-features --all-targets -- -D warnings
|
|
|
|
|
cargo-deny:
|
|
|
|
|
name: Cargo Deny
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
@ -69,6 +67,8 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout repository
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
- name: Setup Rust
|
|
|
|
|
uses: dtolnay/rust-toolchain@stable
|
|
|
|
|
- name: Check ${{ matrix.checks }}
|
|
|
|
|
uses: dnaka91/actions/deny-check@main
|
|
|
|
|
with:
|
|
|
|
|