Skip to content

Commit aae2e31

Browse files
committed
Call tasks directly instead of through Taskfile
This is to allow the test to continue to work until GODRIVER-3723
1 parent f523a71 commit aae2e31

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/codeql.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ jobs:
3232
steps:
3333
- name: Checkout repository
3434
uses: actions/checkout@v6
35-
3635
- name: Set up Go
3736
uses: actions/setup-go@v5
3837
with:
3938
go-version: "1.25.0"
40-
4139
# Initializes the CodeQL tools for scanning.
4240
- name: Initialize CodeQL
4341
uses: github/codeql-action/init@v4
@@ -46,8 +44,23 @@ jobs:
4644
build-mode: manual
4745
- name: Install Taskfile support
4846
uses: arduino/setup-task@v2
49-
- shell: bash
50-
run: task build
47+
- name: Build (CodeQL-instrumented)
48+
shell: bash
49+
env:
50+
GOTOOLCHAIN: local
51+
run: |
52+
go build ./...
53+
go build ${BUILD_TAGS} ./...
54+
go test -short ${BUILD_TAGS} -run ^$$ ./...
55+
56+
GO_VERSIONS="1.19" go test -v ./internal/test/compilecheck -run '^TestCompileCheck/golang:1.19$'
57+
58+
GOOS=linux GOARCH=386 go build ./...
59+
GOOS=linux GOARCH=arm go build ./...
60+
GOOS=linux GOARCH=arm64 go build ./...
61+
GOOS=linux GOARCH=amd64 go build ./...
62+
GOOS=linux GOARCH=ppc64le go build ./...
63+
GOOS=linux GOARCH=s390x go build ./...
5164
- name: Perform CodeQL Analysis
5265
uses: github/codeql-action/analyze@v4
5366
with:

0 commit comments

Comments
 (0)