Skip to content

Commit 98b105c

Browse files
dgduncanDerek Duncan
andauthored
add 1.24.x to testing matrix and update 1.22.x to 1.24.x to latest (#599)
* add 1.24.x to testing matrix and update 1.22.x to 1.24.x to latest * fix broken test and flip expected and actual on equal --------- Co-authored-by: Derek Duncan <[email protected]>
1 parent b1c5727 commit 98b105c

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
strategy:
1515
matrix:
16-
go-version: [ 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x, 1.23.x ]
16+
go-version: [ 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x, 1.23.x, 1.24.x ]
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.os }}
1919
steps:
@@ -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.22.x'
35+
if: matrix.os != 'windows-latest' && matrix.go-version == '1.24.x'
3636
- name: Test
3737
run: go test -race ./...

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ go 1.18
44

55
require (
66
github.com/go-chi/chi/v5 v5.1.0
7+
github.com/golang-jwt/jwt/v4 v4.5.1
78
github.com/golang-jwt/jwt/v5 v5.2.1
89
github.com/gorilla/mux v1.6.2
910
github.com/gorilla/pat v0.0.0-20180118222023-199c85a7f6d1
@@ -34,6 +35,7 @@ require (
3435
github.com/pkg/errors v0.9.1 // indirect
3536
github.com/pmezard/go-difflib v1.0.0 // indirect
3637
github.com/rogpeppe/go-internal v1.12.0 // indirect
38+
github.com/stretchr/objx v0.5.2 // indirect
3739
golang.org/x/crypto v0.21.0 // indirect
3840
google.golang.org/appengine v1.6.8 // indirect
3941
google.golang.org/protobuf v1.32.0 // indirect

go.sum

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw=
1313
github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
1414
github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
1515
github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
16+
github.com/golang-jwt/jwt/v4 v4.5.1 h1:JdqV9zKUdtaa9gdPlywC3aeoEsR681PlKC+4F5gQgeo=
17+
github.com/golang-jwt/jwt/v4 v4.5.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
1618
github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk=
1719
github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
1820
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
@@ -68,6 +70,7 @@ github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99
6870
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
6971
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
7072
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
73+
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
7174
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
7275
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
7376
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=

providers/kakao/session_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func Test_ToJSON(t *testing.T) {
3636
s := &line.Session{}
3737

3838
data := s.Marshal()
39-
a.Equal(data, `{"AuthURL":"","AccessToken":"","RefreshToken":"","ExpiresAt":"0001-01-01T00:00:00Z"}`)
39+
a.Equal(`{"AuthURL":"","AccessToken":"","RefreshToken":"","ExpiresAt":"0001-01-01T00:00:00Z","IDToken":""}`, data)
4040
}
4141

4242
func Test_String(t *testing.T) {

0 commit comments

Comments
 (0)