From 39fc23ba75fb80dc91f5f8046404bb14497e80b6 Mon Sep 17 00:00:00 2001 From: Matthew Robertson Date: Mon, 29 Apr 2024 10:11:12 -0700 Subject: [PATCH 1/2] chore: Update unit.yml According to https://github.com/actions/setup-go/issues/454 this should resolve the issues installing go in the macos workflows --- .github/workflows/unit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 9f7c5bb..6224fcc 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -32,6 +32,7 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: ${{ matrix.go }} + check-latest: true - name: Build and test run: "go test ./..." - name: Vet From 068ff54c819c18f24d877f184f94606d51fa2c99 Mon Sep 17 00:00:00 2001 From: Matthew Robertson Date: Mon, 29 Apr 2024 10:15:37 -0700 Subject: [PATCH 2/2] chore: update lint.yml required to fix issues installing go on macos in github actions --- .github/workflows/lint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 852900b..3f54149 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,5 +31,6 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: ${{ matrix.go }} + check-latest: true - name: Format run: "find . -not \\( \\( -wholename './.git' \\) -prune \\) -name '*.go' | xargs gofmt -s -d"