Skip to content

fix clippy #62 and test publish and package also #462

fix clippy #62 and test publish and package also

fix clippy #62 and test publish and package also #462

Workflow file for this run

name: clippy
on:
push:
branches: [ main, release ]
pull_request:
branches: [ main, release ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0 # TODO: remove this when we cache the builds
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
run: rustup update
- name: build
run: cargo build --all --release --target x86_64-unknown-linux-gnu
- name: fmt check
run: cargo fmt --all -- --check
- name: check
run: cargo check --all --release
- name: clippy
run: cargo clippy --all