summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml48
1 files changed, 0 insertions, 48 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 67371c0..44e7de3 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -33,54 +33,6 @@ jobs:
- name: Run build
run: cargo build --locked --release
- clippy:
- name: Run Clippy scan
-
- runs-on: ubuntu-latest
-
- permissions:
- security-events: write
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Install Nix
- uses: DeterminateSystems/nix-installer-action@v10
-
- - name: Setup Nix cache
- uses: DeterminateSystems/magic-nix-cache-action@v4
-
- - name: Setup Rust cache
- uses: Swatinem/rust-cache@v2
-
- - name: Install SARIF tools
- run: |
- nix profile install \
- --inputs-from ./nix/dev \
- github:getchoo/nix-exprs#{clippy-sarif,sarif-fmt}
-
- - name: Fetch Cargo deps
- run: |
- nix develop ./nix/dev#ci --command \
- cargo fetch --locked
-
- - name: Run Clippy
- continue-on-error: true
- run: |
- nix develop ./nix/dev#ci --command \
- cargo clippy \
- --all-features \
- --all-targets \
- --message-format=json \
- | clippy-sarif | tee /tmp/clippy.sarif | sarif-fmt
-
- - name: Upload results
- uses: github/codeql-action/upload-sarif@v3
- with:
- sarif_file: /tmp/clippy.sarif
- wait-for-processing: true
-
format:
name: Check formatting