From 18635761d5a5ec0becf0941933c511efbf91de77 Mon Sep 17 00:00:00 2001 From: Marko Date: Tue, 15 Mar 2022 23:39:28 +0100 Subject: [PATCH] ci: fix codeql (#11384) * codeql test * test++ * revert test --- .github/workflows/codeql-analysis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f644d710f..b43b7a7be 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -4,10 +4,6 @@ on: pull_request: paths: - "**.go" - push: - branches: [ master ] - paths: - - "**.go" jobs: analyze: @@ -22,6 +18,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - uses: actions/setup-go@v3 + with: + go-version: 1.17 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1