Skip to content

Lint

Lint #82

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
main
schedule:
- cron: '28 20 2 * *'
jobs:
lint:
runs-on: ubuntu-latest
permissions:
checks: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Cache
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d # v1.0.7
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets