Skip to content

Merge pull request #346 from brave/renovate/tokio-1.x #69

Merge pull request #346 from brave/renovate/tokio-1.x

Merge pull request #346 from brave/renovate/tokio-1.x #69

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Cache
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- 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