.github/workflows/codeql-analysis.yml: specifically setting the Go version (#3277)

see https://github.com/github/codeql-action/issues/1059
This commit is contained in:
Denys Holius 2022-10-27 11:06:33 +03:00 committed by Aliaksandr Valialkin
parent 3123059407
commit 6e5308ecb2
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -40,6 +40,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
if: ${{ matrix.language == 'go' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2