From b382d2e817a0979cb1817c54d6404309bc6bd0b6 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 19 Apr 2024 22:44:20 -0400 Subject: ci: make clippy it's own workflow again --- .github/workflows/ci.yaml | 48 ----------------------------------------------- 1 file changed, 48 deletions(-) (limited to '.github/workflows/ci.yaml') 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 -- cgit v1.2.3