diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5eb4db9..d7da490 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.21.x, 1.22.x] + go-version: [1.22.x, 1.23.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -17,7 +17,7 @@ jobs: # Static checks from this point forward. Only run on one Go version and on # Linux, since it's the fastest platform, and the tools behave the same. - - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.22.x' + - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x' run: diff <(echo -n) <(gofmt -s -d .) - - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.22.x' + - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x' run: go vet ./... diff --git a/README.md b/README.md index ac9c7b4..51560f3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Go Reference](https://pkg.go.dev/badge/mvdan.cc/xurls/v2.svg)](https://pkg.go.dev/mvdan.cc/xurls/v2) -Extract urls from text using regular expressions. Requires Go 1.21 or later. +Extract urls from text using regular expressions. Requires Go 1.22 or later. ```go import "mvdan.cc/xurls/v2" diff --git a/go.mod b/go.mod index 9138c5a..f1745d1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module mvdan.cc/xurls/v2 -go 1.21 +go 1.22 require ( github.com/rogpeppe/go-internal v1.12.0