ci(codeql): avoid setup-go action in matrix
This commit is contained in:
10
.github/workflows/codeql.yml
vendored
10
.github/workflows/codeql.yml
vendored
@@ -74,9 +74,13 @@ jobs:
|
||||
# [SETUP] Build Go library (libmihomo.a) for C++ linkage
|
||||
- name: Setup Go
|
||||
if: matrix.language == 'c-cpp'
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: 'stable'
|
||||
shell: bash
|
||||
run: |
|
||||
if ! command -v go >/dev/null 2>&1; then
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends golang-go
|
||||
fi
|
||||
go version
|
||||
|
||||
- name: Build libmihomo.a
|
||||
if: matrix.language == 'c-cpp'
|
||||
|
||||
Reference in New Issue
Block a user