Skip to content

Commit

Permalink
chore: Set Go 1.22 for CodeQL (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmotso authored and SergK committed May 16, 2024
1 parent 9c184d6 commit c6fa3d2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: "CodeQL"
on:
push:
branches: [ master ]
env:
GOLANG_VERSION: '1.22'

jobs:
analyze:
Expand All @@ -18,6 +20,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOLANG_VERSION }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand All @@ -28,4 +35,4 @@ jobs:
uses: github/codeql-action/autobuild@v2

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

0 comments on commit c6fa3d2

Please sign in to comment.