Skip to content

Commit

Permalink
Fix codeql workflow runs
Browse files Browse the repository at this point in the history
  • Loading branch information
asvoboda authored Jan 23, 2024
1 parent 70a3602 commit 920c912
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,26 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

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

- name: Set Go version
id: go_version
run: |
GO_VERSION=$(cat .palantir/go-version | sed 's/^go//' )
echo "::set-output name=version::${GO_VERSION}"
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go_version.outputs.version }}

- name: Autobuild for CodeQL
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3

0 comments on commit 920c912

Please sign in to comment.