Skip to content

Merge pull request #379 from brave/renovate/actions-checkout-4.x #163

Merge pull request #379 from brave/renovate/actions-checkout-4.x

Merge pull request #379 from brave/renovate/actions-checkout-4.x #163

Workflow file for this run

name: Style
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '19 20 3 * *'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d # v1.0.7
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --release --all-targets -- -D warnings -A clippy::too_many_arguments