From 342bef711c5e66d2803f0ffba02fa901498b8375 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Wed, 17 Jan 2024 16:33:52 -0800 Subject: [PATCH] Use check-latest on go install in workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com> --- .github/workflows/ci.yml | 1 + .github/workflows/codeql.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c6b649..435482d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,5 +24,6 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: 1.21 + check-latest: true - name: Run tests run: go test -v ./... diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 30d9b2a..dfb3f40 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -60,6 +60,7 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: 1.21 + check-latest: true - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@e6a47e25652c5dbefe5b65d3b8e8dab0e9364b21 # v2.16.0 with: