From 38770fc6e9a770e776f8cd862b4fba628bebe936 Mon Sep 17 00:00:00 2001 From: Enrico Stahn Date: Wed, 9 Feb 2022 08:56:44 +1100 Subject: [PATCH] chore: bump golang and golangci (#206) --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 8 ++++---- .golangci.yml | 5 ++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c07791..1d5d450 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.4 with: - go-version: ^1.15.0 + go-version: 1.17 id: go - name: Login to DockerHub diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4fac0f6..98ed3dc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.4 with: - go-version: 1.14 + go-version: 1.17 id: go - name: Checkout @@ -26,7 +26,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v2.5.2 with: - version: v1.32 + version: v1.44 test: name: Test @@ -36,7 +36,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2.1.4 with: - go-version: ^1.15.0 + go-version: 1.17 id: go - name: Checkout @@ -64,7 +64,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2.1.4 with: - go-version: ^1.15.0 + go-version: 1.17 id: go - name: Run GoReleaser diff --git a/.golangci.yml b/.golangci.yml index 05dea3b..2b33838 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,16 +13,15 @@ linters: - gocyclo - gofmt - goimports - - golint + - revive - gosec - gosimple - govet - ineffassign - - interfacer # - lll - misspell - nakedret - - scopelint + - exportloopref - staticcheck - structcheck # - typecheck