diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ec248ae7..291a6cc5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,7 +12,18 @@ jobs: strategy: matrix: - go: ["1.18", "1.19", "1.20", "1.21", "1.22", "stable", "oldstable"] + go: + [ + "1.18", + "1.19", + "1.20", + "1.21", + "1.22", + "1.23", + "1.24", + "stable", + "oldstable", + ] steps: - name: Checkout repository @@ -37,9 +48,9 @@ jobs: - name: Set up Go uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: - go-version: "1.22" + go-version: "1.24" - name: Lint uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 with: - version: v1.59.0 + version: v1.64.5 diff --git a/.golangci.yaml b/.golangci.yaml index 763143aa..40532c17 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,23 +1,21 @@ run: - timeout: 5m + timeout: 5m linters-settings: - gci: - sections: - - standard - - default - - prefix(github.com/go-viper/mapstructure) - golint: - min-confidence: 0 - goimports: - local-prefixes: github.com/go-viper/maptstructure + gci: + sections: + - standard + - default + - prefix(github.com/go-viper/mapstructure) + goimports: + local-prefixes: github.com/go-viper/maptstructure linters: - disable-all: true - enable: - - gci - - gofmt - - gofumpt - - goimports - - staticcheck - # - stylecheck + disable-all: true + enable: + - gci + - gofmt + - gofumpt + - goimports + - staticcheck + # - stylecheck