Skip to content

Commit

Permalink
Fix clippy permissions errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ewpratten authored Sep 7, 2023
1 parent 5066110 commit 8a19e22
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
on: [push, pull_request]
name: Clippy

on:
push:
paths:
- '.github/workflows/clippy.yml'
- '**/Cargo.toml'
- '**/*.rs'

permissions:
checks: write
contents: read

jobs:
clippy_check:
runs-on: ubuntu-latest
Expand All @@ -9,4 +20,5 @@ jobs:
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
args: --all-features

0 comments on commit 8a19e22

Please sign in to comment.