Skip to content

Merge pull request #240 from somehowchris/renovate/actions-checkout-4.x #728

Merge pull request #240 from somehowchris/renovate/actions-checkout-4.x

Merge pull request #240 from somehowchris/renovate/actions-checkout-4.x #728

Workflow file for this run

name: Cargo Check
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: ["*"]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run fmt
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- --deny=warnings
- name: Run check
run: cargo check