diff options
| author | seth <[email protected]> | 2023-09-07 16:19:07 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-09-07 17:15:26 -0400 |
| commit | 9518d623730a362a2cf558cb77d020be8ce50bc8 (patch) | |
| tree | 8d95998e4d35e0955d8559b9e48b7a60f7766795 /.github/workflows/clippy.yaml | |
| parent | f741b550612103dafc1b2ff405de6a816ac5d760 (diff) | |
flake/actions: replace some crane checks with pre-commit
Diffstat (limited to '.github/workflows/clippy.yaml')
| -rw-r--r-- | .github/workflows/clippy.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/clippy.yaml b/.github/workflows/clippy.yaml index 48b1bd6..cb35d14 100644 --- a/.github/workflows/clippy.yaml +++ b/.github/workflows/clippy.yaml @@ -11,6 +11,10 @@ jobs: clippy: runs-on: ubuntu-latest + permissions: + contents: read + security-events: write + steps: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main @@ -23,6 +27,7 @@ jobs: - name: run clippy run: | + mkdir -p /tmp cargo clippy --all --all-targets --message-format=json | clippy-sarif > /tmp/clippy.sarif - name: upload results |
