Skip to content

Lint

Lint #158

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- speedreader
pull_request:
schedule:
- cron: '28 20 2 * *'
jobs:
lint:
runs-on: ubuntu-latest
permissions:
checks: write
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Cache
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets