From 164c4347431d7861a0d4580bb33e75f4b03b2ba5 Mon Sep 17 00:00:00 2001 From: Sourcegraph Egg Date: Fri, 24 Apr 2026 00:38:22 +0000 Subject: [PATCH] ci: add go build ./... step to GitHub Actions --- .github/workflows/codeql-analysis.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d0649bf..86d7a37 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -12,8 +12,7 @@ name: "CodeQL" on: - push: - branches: [ master ] + push: {} pull_request: # The branches below must be a subset of the branches above branches: [ master ] @@ -68,3 +67,13 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 + go-build: + name: Go build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.2' + - name: Go build check + run: go build ./...