build and test with go1.18 (#656)

- https://go.dev/doc/go1.18
This commit is contained in:
Wade Simmons
2022-04-05 17:08:00 -04:00
committed by GitHub
parent b38bd36766
commit 3913062c43
6 changed files with 24 additions and 24 deletions

View File

@@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
id: go
- name: Check out code into the Go module directory
@@ -26,9 +26,9 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gofmt1.17-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-gofmt1.18-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-gofmt1.17-
${{ runner.os }}-gofmt1.18-
- name: Install goimports
run: |