Skip to content

No MacArm (#14)

No MacArm (#14) #32

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.os }}
- id: changed-files
uses: tj-actions/changed-files@v40
- uses: pre-commit/[email protected]
with:
extra_args: cargo-check --files ${{ steps.changed-files.outputs.all_changed_files }}
- uses: pre-commit/[email protected]
with:
extra_args: cargo-clippy --files ${{ steps.changed-files.outputs.all_changed_files }}
- uses: taiki-e/install-action@cargo-udeps
- run: cargo udeps