test: use go 1.18 for lint
@@ -14,6 +14,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
+ - uses: actions/setup-go@v2
+ with:
+ go-version: ${{ env.GO_VERSION }}
- uses: golangci/golangci-lint-action@v2
with:
version: v1.45.0
