1
0

Bump Go version to 1.16 in CI (#72)

This commit is contained in:
Markus Wüstenberg 2021-05-07 14:35:47 +02:00 committed by GitHub
parent e6538392ad
commit d34b28be56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View File

@ -11,20 +11,19 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.15
id: go
- name: Check out
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ^1.16
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v .
run: go build -v ./...
- name: Test
run: go test -v -coverprofile=coverage.txt ./...
@ -42,4 +41,4 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.30
version: latest

View File

@ -10,5 +10,5 @@ lint:
golangci-lint run
test:
go test -coverprofile=cover.out -mod=readonly ./...
go test -coverprofile=cover.out ./...