Fix golangci-lint by using Go 1.17

Copied from: https://github.com/mercari/spanner-autoscaler/pull/83
This commit is contained in:
makeworld 2022-04-15 11:39:14 -04:00
parent a71a38926b
commit bfb3893774

View File

@ -19,9 +19,12 @@ jobs:
name: lint name: lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/setup-go@v3
with:
go-version: 1.17
- uses: actions/checkout@v3
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v2 uses: golangci/golangci-lint-action@v3
with: with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.43 version: v1.43