golangci-lint action: explicitly configure go version
@@ -13,6 +13,12 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{github.event.pull_request.head.repo.full_name}}
persist-credentials: false
+
+ - name: Setup Go
+ uses: actions/setup-go@v1
+ with:
+ go-version: 1.18
+
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.1.0
with:
