diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61d1b74..e418ada 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,10 +10,10 @@ jobs: strategy: matrix: - go-version: [ "1.23", "1.24" ] + go-version: [ "1.24", "1.25" ] runs-on: ubuntu-latest env: - GOLANGCI_LINT_VERSION: v2.1.6 + GOLANGCI_LINT_VERSION: v2.4.0 steps: - name: Checkout code @@ -37,7 +37,7 @@ jobs: - name: Setup gotestsum uses: gertd/action-gotestsum@v3.0.0 with: - gotestsum_version: v1.12.0 + gotestsum_version: v1.13.0 - name: Run Tests run: gotestsum --junitfile tests.xml --format pkgname -- -covermode=atomic -coverprofile=coverage.out -race ./... diff --git a/.golangci.yml b/.golangci.yml index 8589692..3edc5c1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -30,10 +30,12 @@ linters: - gochecknoglobals - mnd - nlreturn + - noinlineerr - paralleltest - varnamelen - wrapcheck - wsl + - wsl_v5 settings: cyclop: max-complexity: 12 diff --git a/go.mod b/go.mod index a964c18..ce61200 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hamba/testutils -go 1.23.0 +go 1.24.0 require ( github.com/ryanuber/go-glob v1.0.0