diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f920807..862455c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest ] - go: [ '1.18', '1.19' ] + go: [ '1.21', '1.22' ] steps: @@ -65,7 +65,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest ] - go: [ '1.18', '1.19' ] + go: [ '1.21', '1.22' ] steps: @@ -75,4 +75,4 @@ jobs: - name: Run linter uses: golangci/golangci-lint-action@v2 with: - version: v1.51 + version: v1.58 diff --git a/.golangci.yml b/.golangci.yml index eac60c2..e433583 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,7 +4,7 @@ linters: - unconvert - gofmt - ineffassign - - vet + - govet - unused - misspell - bodyclose @@ -12,7 +12,6 @@ linters: - goimports - prealloc -run: - deadline: 2m - skip-dirs: +issues: + exlude-dirs: - vendor diff --git a/go.mod b/go.mod index 9da01ea..1aca6a0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/milosgajdos/go-estimate -go 1.18 +go 1.21 require ( github.com/milosgajdos/matrix v0.0.2