Skip to content

Commit

Permalink
chore: support go 1.18 (hamba#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrwiersma authored Mar 19, 2022
1 parent 8361521 commit 05f1209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:

strategy:
matrix:
go-version: [ 1.16, 1.17 ]
go-version: [ 1.17, 1.18 ]
runs-on: ubuntu-latest
env:
GOLANGCI_LINT_VERSION: v1.42.0
GOLANGCI_LINT_VERSION: v1.45.0

steps:
- name: Install Go
Expand All @@ -38,6 +38,7 @@ jobs:
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
skip-pkg-cache: true
args: --go ${{ matrix.go-version }}

- name: Run tests
run: go test -covermode=count -coverprofile=coverage.out ./...
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ linters:
- gocyclo
- goerr113
- gomnd
- ireturn
- nestif
- nilnil
- nlreturn
- noctx # until registry client gets context
- tagliatelle
- varnamelen
- wrapcheck
- wsl

Expand Down

0 comments on commit 05f1209

Please sign in to comment.