chore(deps): update go version to 1.18 (#1363)

Co-authored-by: nils måsén <nils@piksel.se>
This commit is contained in:
Jauder Ho 2022-09-04 04:56:29 -07:00 committed by GitHub
parent 964879d228
commit e04a107694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 60 additions and 334 deletions

View file

@ -18,20 +18,17 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.15.x
- name: Install linter
run: |
go get -u golang.org/x/lint/golint
- name: Lint files
run: |
golint -set_exit_status ./...
go-version: 1.18.x
- uses: dominikh/staticcheck-action@v1.2.0
with:
version: "2022.1.1"
test:
name: Test
strategy:
fail-fast: false
matrix:
go-version:
- 1.15.x
- 1.18.x
platform:
- macos-latest
- windows-latest
@ -45,7 +42,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.15.x
go-version: 1.18.x
- name: Run tests
run: |
go test -v -coverprofile coverage.out -covermode atomic ./...
@ -64,7 +61,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.15.x
go-version: 1.18.x
- name: Build
uses: goreleaser/goreleaser-action@v3
with: