Add Go v1.18 to public Github Workflow

* Update Github Workflow `checkout` and `setup-go` actions
* Change `go get <tool>` to `go install <tool>`
* Remove Go v1.16
This commit is contained in:
Dalton Hubble
2022-03-18 20:57:57 -07:00
parent 721125ac95
commit b5df190a35

View File

@@ -13,18 +13,18 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ['1.16', '1.17']
go: ['1.17', '1.18']
steps:
- name: setup
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{matrix.go}}
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: tools
run: GO111MODULE=off go get golang.org/x/lint/golint
run: go install golang.org/x/lint/golint@latest
- name: test
run: make