summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-07 16:28:56 -0400
committerseth <[email protected]>2023-09-07 17:15:26 -0400
commit9dcd1092005e0572db877f549f69041f253c91ef (patch)
tree09a850598952060e04ab963a228ee53b4c757d1c /.github/workflows
parent178e08f499ed051ad649e068497e5f5ce057326a (diff)
actions: try to fix clippy workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/clippy.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/clippy.yaml b/.github/workflows/clippy.yaml
index cb35d14..caa22bb 100644
--- a/.github/workflows/clippy.yaml
+++ b/.github/workflows/clippy.yaml
@@ -23,12 +23,11 @@ jobs:
- name: enter shell
run: |
nix develop --accept-flake-config
- nix shell --accept-flake-config github:getchoo/nix-exprs#clippy-sarif
- name: run clippy
run: |
- mkdir -p /tmp
- cargo clippy --all --all-targets --message-format=json | clippy-sarif > /tmp/clippy.sarif
+ cargo clippy --all --all-targets --message-format=json \
+ | nix run --accept-flake-config github:getchoo/nix-exprs#clippy-sarif > /tmp/clippy.sarif
- name: upload results
uses: github/codeql-action/upload-sarif@v2