diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50ae13b..dde97cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,7 @@ jobs: test: strategy: matrix: - go_version: - - 1.18.x + go_version: [ '1.18.x', '1.19.x', '1.20.x', '1.21.x' ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -36,7 +35,7 @@ jobs: run: go test -v -race -coverprofile=cover.os-${{ matrix.os }}.ver-${{ matrix.go_version }}.txt -covermode=atomic ./... - name: upload coverage uses: codecov/codecov-action@v3 - if: ${{ matrix.go_version == '1.18.x' }} + if: ${{ matrix.go_version == '1.21.x' }} with: files: ./cover.os-${{ matrix.os }}.ver-${{ matrix.go_version }}.txt determine_release: @@ -69,11 +68,11 @@ jobs: GITHUB_TOKEN: ${{ github.token }} - uses: actions/setup-go@v3 with: - go-version: '1.18.x' + go-version: '1.21.x' - uses: actions/cache@v3 with: path: ~/go/pkg/mod - key: ${{ runner.os }}-go-1.18.x-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-go-1.21.x-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- - uses: goreleaser/goreleaser-action@v2.9.1 diff --git a/analyzer/testdata/src/github.com/aereal/a/go.mod b/analyzer/testdata/src/github.com/aereal/a/go.mod index fee041f..d4bd618 100644 --- a/analyzer/testdata/src/github.com/aereal/a/go.mod +++ b/analyzer/testdata/src/github.com/aereal/a/go.mod @@ -1,3 +1,3 @@ module github.com/aereal/a -go 1.18 +go 1.21 diff --git a/analyzer/testdata/src/github.com/aereal/b/go.mod b/analyzer/testdata/src/github.com/aereal/b/go.mod index ee64afd..1b597c9 100644 --- a/analyzer/testdata/src/github.com/aereal/b/go.mod +++ b/analyzer/testdata/src/github.com/aereal/b/go.mod @@ -1,3 +1,3 @@ module github.com/aereal/b -go 1.18 +go 1.21 diff --git a/analyzer/testdata/src/github.com/aereal/c/go.mod b/analyzer/testdata/src/github.com/aereal/c/go.mod index 9073ebf..bed1412 100644 --- a/analyzer/testdata/src/github.com/aereal/c/go.mod +++ b/analyzer/testdata/src/github.com/aereal/c/go.mod @@ -1,3 +1,3 @@ module github.com/aereal/c -go 1.18 +go 1.21 diff --git a/analyzer/testdata/src/github.com/aereal/d/go.mod b/analyzer/testdata/src/github.com/aereal/d/go.mod index 18b21c4..10d256e 100644 --- a/analyzer/testdata/src/github.com/aereal/d/go.mod +++ b/analyzer/testdata/src/github.com/aereal/d/go.mod @@ -1,3 +1,3 @@ module github.com/aereal/d -go 1.18 +go 1.21 diff --git a/analyzer/testdata/src/github.com/aereal/empty/go.mod b/analyzer/testdata/src/github.com/aereal/empty/go.mod index c07a3c2..18bddd6 100644 --- a/analyzer/testdata/src/github.com/aereal/empty/go.mod +++ b/analyzer/testdata/src/github.com/aereal/empty/go.mod @@ -1,3 +1,3 @@ module github.com/aereal/empty -go 1.18 +go 1.21 diff --git a/go.mod b/go.mod index 1f663ae..7cdb7b5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/aereal/pkgboundaries -go 1.18 +go 1.21 require ( github.com/google/go-cmp v0.5.9