Skip to content

Commit 69f1373

Browse files
bump min go to 1.18 (#541)
1 parent f347ee3 commit 69f1373

File tree

3 files changed

+1218
-30
lines changed

3 files changed

+1218
-30
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
test:
1414
strategy:
1515
matrix:
16-
go-version: [ 1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x ]
16+
go-version: [ 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x ]
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- name: Install Go
21-
uses: actions/setup-go@v4
21+
uses: actions/setup-go@v5
2222
with:
2323
go-version: ${{ matrix.go-version }}
2424
- name: Checkout code
@@ -32,6 +32,6 @@ jobs:
3232
${{ runner.os }}-go-
3333
- name: Format
3434
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
35-
if: matrix.os != 'windows-latest' && matrix.go-version == '1.19.x'
35+
if: matrix.os != 'windows-latest' && matrix.go-version == '1.22.x'
3636
- name: Test
3737
run: go test -race ./...

go.mod

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,41 @@
11
module github.com/markbates/goth
22

3-
go 1.15
3+
go 1.18
44

55
require (
6-
cloud.google.com/go v0.67.0 // indirect
76
github.com/golang-jwt/jwt/v4 v4.2.0
87
github.com/gorilla/mux v1.6.2
98
github.com/gorilla/pat v0.0.0-20180118222023-199c85a7f6d1
109
github.com/gorilla/sessions v1.1.1
1110
github.com/jarcoal/httpmock v0.0.0-20180424175123-9c70cfe4a1da
12-
github.com/lestrrat-go/jwx v1.2.26
11+
github.com/lestrrat-go/jwx v1.2.28
1312
github.com/markbates/going v1.0.0
1413
github.com/mrjones/oauth v0.0.0-20180629183705-f4e24b6d100c
1514
github.com/stretchr/testify v1.8.4
16-
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43
15+
golang.org/x/oauth2 v0.17.0
16+
)
17+
18+
require (
19+
cloud.google.com/go/compute v1.20.1 // indirect
20+
cloud.google.com/go/compute/metadata v0.2.3 // indirect
21+
github.com/davecgh/go-spew v1.1.1 // indirect
22+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
23+
github.com/goccy/go-json v0.10.2 // indirect
24+
github.com/golang/protobuf v1.5.3 // indirect
25+
github.com/gorilla/context v1.1.1 // indirect
26+
github.com/gorilla/securecookie v1.1.1 // indirect
27+
github.com/kr/pretty v0.3.1 // indirect
28+
github.com/lestrrat-go/backoff/v2 v2.0.8 // indirect
29+
github.com/lestrrat-go/blackmagic v1.0.2 // indirect
30+
github.com/lestrrat-go/httpcc v1.0.1 // indirect
31+
github.com/lestrrat-go/iter v1.0.2 // indirect
32+
github.com/lestrrat-go/option v1.0.1 // indirect
33+
github.com/pkg/errors v0.9.1 // indirect
34+
github.com/pmezard/go-difflib v1.0.0 // indirect
35+
github.com/rogpeppe/go-internal v1.12.0 // indirect
36+
golang.org/x/crypto v0.19.0 // indirect
37+
google.golang.org/appengine v1.6.8 // indirect
38+
google.golang.org/protobuf v1.32.0 // indirect
39+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
40+
gopkg.in/yaml.v3 v3.0.1 // indirect
1741
)

0 commit comments

Comments
 (0)