From a7e2fc9dbf7459185f94e4804f408fdb358f1e46 Mon Sep 17 00:00:00 2001 From: Kuisong Tong Date: Mon, 19 Feb 2024 17:06:18 -0800 Subject: [PATCH] update go in codeql (#7) --- .github/workflows/codeql.yml | 4 ++++ .github/workflows/release.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fed1cef..938404a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -17,6 +17,10 @@ jobs: security-events: write steps: - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: 'stable' + cache-dependency-path: "**/go.sum" - uses: github/codeql-action/init@v3 with: languages: go diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66f8a64..15b9090 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,7 @@ jobs: tag: "v${{ steps.query-release-info.outputs.version }}" }) - name: Create release + id: create-release uses: actions/github-script@v7 if: steps.latest-release.outcome == 'failure' with: