Skip to content

Merge pull request #110 from Vovke/force-withdrawal #13

Merge pull request #110 from Vovke/force-withdrawal

Merge pull request #110 from Vovke/force-withdrawal #13

Workflow file for this run

name: Rust clippy
on:
pull_request:
push:
branches:
- main
- stable
jobs:
linter:
name: Cargo clippy
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout sources
uses: actions/[email protected]
with:
fetch-depth: 50
submodules: 'recursive'
- name: Install Rust stable toolchain
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: stable
override: true
- name: Rust Cache
uses: Swatinem/[email protected]
- name: cargo clippy
run: cargo clippy --all-targets -- -D warnings -D clippy::pedantic -D clippy::correctness -D clippy::complexity -D clippy::perf