From cc67f39bda0e56c76548bde70d4a30bccc59d2f7 Mon Sep 17 00:00:00 2001 From: Trong Huu Nguyen Date: Tue, 2 Apr 2024 10:19:07 +0200 Subject: [PATCH] ci: set up go for codeql --- .github/workflows/codeql.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 944ac36..128b59c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -35,6 +35,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: '1.22' + check-latest: true + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3