Skip to content

ci: Use auguwu/[email protected] to run clippy

ci: Use auguwu/[email protected] to run clippy #90

Workflow file for this run

# The file is the workflow for rustfmt
#
# It runs `cargo fmt --check`
#
# It will fail if there are formatting problems.
on: [push, pull_request]
name: rustfmt
env:
CARGO_TERM_COLOR: always
jobs:
rustfmt:
# Only run on PRs if the source branch is on someone else's repo
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- shell: bash
run: |
cargo fmt -- --check