diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 24d5e10..3320ad2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -52,7 +52,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v4.37.4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -65,7 +65,7 @@ jobs: # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v4.37.4 if: env.GIT_DIFF # ℹ️ Command-line programs to run using the OS shell. @@ -80,5 +80,5 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v4.37.4 if: env.GIT_DIFF diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index c6dd6a6..f63a646 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -27,7 +27,7 @@ jobs: args: '-no-fail -fmt sarif -out results.sarif ./...' if: "env.GIT_DIFF_FILTERED != ''" - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v4.37.4 with: # Path to SARIF file relative to the root of the repository sarif_file: results.sarif diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 2a39979..15a5cae 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -39,7 +39,7 @@ jobs: if: "env.GIT_DIFF_FILTERED != ''" # Upload findings to GitHub Advanced Security Dashboard [step 2/2] - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v4.37.4 with: sarif_file: semgrep.sarif if: "env.GIT_DIFF_FILTERED != ''" diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml index 80ee296..2cbcbac 100644 --- a/.github/workflows/slither.yml +++ b/.github/workflows/slither.yml @@ -34,7 +34,7 @@ jobs: target: contracts/ if: "env.GIT_DIFF" - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v4.37.4 with: sarif_file: ${{ steps.slither.outputs.sarif }} if: "env.GIT_DIFF"