Skip to content

Commit

Permalink
update Go version
Browse files Browse the repository at this point in the history
  • Loading branch information
KenWilliamson committed Jul 3, 2024
1 parent 45d0fc0 commit 58e8f24
Show file tree
Hide file tree
Showing 11 changed files with 753 additions and 752 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.1
go-version: 1.22.2

- name: Install dependencies
run: go get .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

#RUN sudo apt-get update
RUN apt-get update
Expand Down
5 changes: 3 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
GO111MODULE=on go build -o main *.go
# GO111MODULE=on go build
# GO111MODULE=on go build -o main *.go
# GO111MODULE=on go build
GOOS=linux GOARCH=amd64 go build -o main *.go
4 changes: 2 additions & 2 deletions compresstoken/coverage.out
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
mode: set
github.com/Ulbora/GoAuth2/compresstoken/compressToken.go:37.54,42.16 4 1
github.com/Ulbora/GoAuth2/compresstoken/compressToken.go:47.2,47.12 1 1
github.com/Ulbora/GoAuth2/compresstoken/compressToken.go:42.16,46.3 3 1
github.com/Ulbora/GoAuth2/compresstoken/compressToken.go:47.2,47.12 1 1
github.com/Ulbora/GoAuth2/compresstoken/compressToken.go:51.57,56.17 4 1
github.com/Ulbora/GoAuth2/compresstoken/compressToken.go:66.2,66.12 1 1
github.com/Ulbora/GoAuth2/compresstoken/compressToken.go:56.17,59.17 3 1
github.com/Ulbora/GoAuth2/compresstoken/compressToken.go:59.17,64.4 4 1
github.com/Ulbora/GoAuth2/compresstoken/compressToken.go:66.2,66.12 1 1
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/Ulbora/GoAuth2

go 1.20
go 1.22

require (
github.com/Ulbora/GoProxy v1.0.1
Expand Down
548 changes: 274 additions & 274 deletions handlers/coverage.out

Large diffs are not rendered by default.

Binary file modified main
Binary file not shown.
268 changes: 134 additions & 134 deletions managers/coverage.out

Large diffs are not rendered by default.

662 changes: 331 additions & 331 deletions mysqldb/coverage.out

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions oauthclient/coverage.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ mode: set
github.com/Ulbora/GoAuth2/oauthclient/mockOauthClient.go:37.69,63.2 1 1
github.com/Ulbora/GoAuth2/oauthclient/mockOauthClient.go:66.49,70.2 3 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:43.65,51.25 8 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:55.2,59.23 5 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:82.2,82.12 1 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:51.25,53.3 1 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:55.2,59.23 5 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:59.23,62.27 2 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:62.27,64.25 2 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:69.4,79.31 11 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:64.25,66.5 1 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:66.10,68.5 1 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:69.4,79.31 11 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:82.2,82.12 1 1
github.com/Ulbora/GoAuth2/oauthclient/oauthClient.go:86.45,90.2 3 1
6 changes: 3 additions & 3 deletions rolecontrol/coverage.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ github.com/Ulbora/GoAuth2/rolecontrol/mockRoleControl.go:31.72,33.2 1 1
github.com/Ulbora/GoAuth2/rolecontrol/mockRoleControl.go:36.84,38.2 1 1
github.com/Ulbora/GoAuth2/rolecontrol/mockRoleControl.go:41.61,45.2 3 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:50.68,57.23 3 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:61.2,61.18 1 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:64.2,67.12 3 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:57.23,60.3 2 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:61.2,61.18 1 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:61.18,63.3 1 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:64.2,67.12 3 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:71.80,75.16 4 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:89.2,89.17 1 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:75.16,77.26 2 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:77.26,82.31 1 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:82.31,85.10 3 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:89.2,89.17 1 1
github.com/Ulbora/GoAuth2/rolecontrol/roleControl.go:93.57,97.2 3 1

0 comments on commit 58e8f24

Please sign in to comment.