Skip to content

build(deps): bump install-pinned/mypy from cec260456eec5126750b72b8f0a6e6011eb85223 to 8fd8c50eff0144780246d326dc2159289f090e33 #242

build(deps): bump install-pinned/mypy from cec260456eec5126750b72b8f0a6e6011eb85223 to 8fd8c50eff0144780246d326dc2159289f090e33

build(deps): bump install-pinned/mypy from cec260456eec5126750b72b8f0a6e6011eb85223 to 8fd8c50eff0144780246d326dc2159289f090e33 #242

Workflow file for this run

name: Lints
on:
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Run cargo fmt
run: cargo fmt --all -- --check
clippy:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Lints
uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }}