diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd5fd38..9884829 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: test: strategy: matrix: - go: ["1.14", "1.15", "1.16"] + go: ["1.15", "1.16", "1.17", "1.18"] runs-on: ubuntu-latest steps: - name: Set up Go ${{ matrix.go }} @@ -36,13 +36,13 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.16 + go-version: 1.17 id: go - name: lint uses: golangci/golangci-lint-action@v2 with: - version: v1.29 + version: v1.44.2 readme: runs-on: ubuntu-latest @@ -50,7 +50,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.18 id: go diff --git a/.golangci.yml b/.golangci.yml index 8239414..cfd3bdc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,4 +5,4 @@ run: linters: enable: - goimports - - golint + - revive diff --git a/Makefile b/Makefile index 7e8d7dd..27fd530 100644 --- a/Makefile +++ b/Makefile @@ -14,10 +14,10 @@ readmecheck: diff README.generated.md README.original.md lint.setup: - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.28.0 + curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.44.2 readmecheck.setup: - go get github.com/jawher/autoreadme + go install github.com/jawher/autoreadme@latest .PHONY: test check doc readmecheck lint.setup readmecheck.setup