Skip to content

ci: use nightly for linting #170

ci: use nightly for linting

ci: use nightly for linting #170

name: Check and Lint
on:
push:
pull_request:
workflow_dispatch:
jobs:
check-and-lint:
name: Check and Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cargo Deny
uses: EmbarkStudios/cargo-deny-action@v1
- name: Clippy
run: cargo +nightly clippy --all-targets --all-features
- name: Install Nightly Toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt
- name: Format
run: cargo +nightly fmt --check