From 04225689394791f520a3403d0732c5cf5a3f2be4 Mon Sep 17 00:00:00 2001 From: Johan Walles Date: Mon, 19 Dec 2022 10:24:55 +0100 Subject: [PATCH] Seems it didn't Ref: * https://github.com/actions/setup-go/issues/49 * https://github.com/actions/setup-go/pull/89 --- .github/workflows/linux-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index f2f5ac4..484b73a 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -16,10 +16,11 @@ jobs: - name: Install golangci-lint run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)"/bin v1.50.1 - # Required for the golangci-lint that we just installed to work. Also - # gives us some caching. + # Source: https://www.scivision.dev/github-actions-path-append/ + # + # Required for the golangci-lint that we just installed to work. - name: Add GOPATH/bin to PATH - uses: actions/setup-go@v3 + run: echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" - name: Check out repository code uses: actions/checkout@v2