Bump actions unit tests workflow to Go 1.18
Also specify check-latest to use newer Go if available
@@ -17,7 +17,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
- go-version: 1.17
+ go-version: 1.18
+ check-latest: true
- run: go test -v -race ./...
working-directory: src
lint:
@@ -26,6 +27,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
- go-version: 1.17
+ go-version: 1.18
+ check-latest: true
- run: go vet ./...
working-directory: src
