Skip to content

ci: bump houseabsolute/actions-rust-cross from 0.0.14 to 0.0.15 (#401) #938

ci: bump houseabsolute/actions-rust-cross from 0.0.14 to 0.0.15 (#401)

ci: bump houseabsolute/actions-rust-cross from 0.0.14 to 0.0.15 (#401) #938

Workflow file for this run

on: [push, pull_request]
name: Lints
permissions:
contents: read
jobs:
lints:
name: rustfmt and clippy
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
persist-credentials: false
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy -- -D warnings
- name: Run cargo clippy on tests
run: cargo clippy --tests -- -D warnings