.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 GitHub
parent 00c838353d
commit b4e6460d2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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