diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 39477d3..181770a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -62,7 +62,7 @@ jobs: run: cargo fetch --locked - name: Initialize CodeQL - uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4 + uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4 with: languages: ${{ matrix.language }} build-mode: none # rust/python/actions all use the no-build extractor @@ -87,6 +87,6 @@ jobs: CODEQL_EXTRACTOR_RUST_OPTION_CARGO_FEATURES: default CODEQL_EXTRACTOR_RUST_OPTION_CARGO_TARGET_DIR: ${{ github.workspace }}/target CODEQL_EXTRACTOR_RUST_OPTION_CARGO_ALL_TARGETS: "true" - uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4 + uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4 with: category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index ec93dd9..23a0a39 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -58,7 +58,7 @@ jobs: continue-on-error: true - name: Upload analysis results to GitHub - uses: github/codeql-action/upload-sarif@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4 + uses: github/codeql-action/upload-sarif@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4 with: sarif_file: rust-clippy-results.sarif category: rust-clippy # keep distinct from the CodeQL rust analysis