mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Run actions/setup-go before CodeQL in Github workflow.
The golang codeql has been failing for 4 months now. It is because CodeQL was running with Go 1.20.14, but go.mod specifies v1.21.1. PiperOrigin-RevId: 607007356
This commit is contained in:
@@ -41,6 +41,11 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- if: ${{ matrix.language == 'go' }}
|
||||
uses: actions/setup-go@v3.5.0
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
|
||||
Reference in New Issue
Block a user