Skip to content

Commit

Permalink
add Go 1.20.x, drop 1.18.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdan committed Mar 12, 2023
1 parent 0ac4938 commit fc8a936
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.18.x, 1.19.x]
go-version: [1.19.x, 1.20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -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.19.x'
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.20.x'
run: diff <(echo -n) <(gofmt -s -d .)
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.19.x'
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.20.x'
run: go vet ./...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.18 or later.
Extract urls from text using regular expressions. Requires Go 1.19 or later.

```go
import "mvdan.cc/xurls/v2"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module mvdan.cc/xurls/v2

go 1.18
go 1.19

require (
github.com/rogpeppe/go-internal v1.9.0
Expand Down

0 comments on commit fc8a936

Please sign in to comment.