Skip to content

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

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

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

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
main
schedule:
- cron: '28 20 2 * *'
jobs:
lint:
runs-on: ubuntu-latest
permissions:
checks: write
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Cache
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d # v1.0.7
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets