Skip to content

Commit

Permalink
Merge pull request #363 from onflow/fxamacker/pin-codeql-dependencies
Browse files Browse the repository at this point in the history
Pin CodeQL workflow dependencies
  • Loading branch information
fxamacker authored Mar 11, 2024
2 parents 9b64cc2 + 709d064 commit 29b684b
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Go 1.19
uses: actions/setup-go@v4
with:
go-version: '1.19'
check-latest: true
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
with:
languages: ${{ matrix.language }}

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
uses: github/codeql-action/autobuild@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/autobuild@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6

0 comments on commit 29b684b

Please sign in to comment.