Changed how the setup-go action sets go version

Signed-off-by: Andrew Block <andy.block@gmail.com>
This commit is contained in:
Andrew Block 2023-02-20 16:04:50 -06:00
parent 6ba17f1762
commit 35e77cc8ec
No known key found for this signature in database
GPG key ID: 02DFE631AEF35EBC
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@3.5.0
with:
go-version: '1.18'
go-version-file: go.mod
- name: Install golangci-lint
run: |
curl -sSLO https://github.com/golangci/golangci-lint/releases/download/v$GOLANGCI_LINT_VERSION/golangci-lint-$GOLANGCI_LINT_VERSION-linux-amd64.tar.gz
@ -44,7 +44,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@3.5.0
with:
go-version: '1.18'
go-version-file: go.mod
- name: Build Helm Binaries
run: |

View file

@ -15,7 +15,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@3.5.0
with:
go-version: '1.18'
go-version-file: go.mod
- name: Set Version
id: set-version