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