Skip to content

Commit af7f4a3

Browse files
committed
Update Dependencies
1 parent dad08ca commit af7f4a3

24 files changed

+4985
-7848
lines changed

.github/workflows/release_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
goos: darwin
1818
steps:
1919
- uses: actions/checkout@v2
20-
- uses: wangyoucao577/go-release-action@v1.20
20+
- uses: wangyoucao577/go-release-action@v1.25
2121
with:
2222
github_token: ${{ secrets.GITHUB_TOKEN }}
2323
goos: ${{ matrix.goos }}

.github/workflows/server_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
services:
2929
postgres:
30-
image: postgres:12
30+
image: postgres:alpine
3131
env:
3232
POSTGRES_USER: root
3333
POSTGRES_PASSWORD: secret
@@ -50,7 +50,7 @@ jobs:
5050
- name: Set up Go
5151
uses: actions/setup-go@v2
5252
with:
53-
go-version: 1.17
53+
go-version: 1.18
5454
id: go
5555

5656
- name: Check out code into the Go module directory

.github/workflows/website-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
services:
1212
postgres:
13-
image: postgres:12
13+
image: postgres:alpine
1414
env:
1515
POSTGRES_USER: root
1616
POSTGRES_PASSWORD: secret
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Go
3434
uses: actions/setup-go@v2
3535
with:
36-
go-version: 1.17
36+
go-version: 1.18
3737
id: go
3838

3939
- name: Check out code into the Go module directory

server/.idea/vcs.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
postgres:
2-
docker run --name postgres12 -p 5432:5432 -e POSTGRES_USER=root -e POSTGRES_PASSWORD=password -d postgres:12-alpine
2+
docker run --name postgres -p 5432:5432 -e POSTGRES_USER=root -e POSTGRES_PASSWORD=password -d postgres:alpine
33

44
redis:
5-
docker run -d --name redis -p 6379:6379 -v /path/to/redisconf/redis.conf:/redis.conf redis redis-server /redis.conf
5+
docker run --name redis -d -p 6379:6379 redis:alpine redis-server --save 60 1
66

77
createdb:
8-
docker exec -it postgres12 createdb --username=root --owner=root valkyrie
8+
docker exec -it postgres createdb --username=root --owner=root valkyrie
99

1010
dropdb:
11-
docker exec -it postgres12 dropdb valkyrie
11+
docker exec -it postgres dropdb valkyrie
1212

1313
recreate:
1414
make dropdb && make createdb
1515

1616
start:
17-
docker start postgres12 && docker start redis
17+
docker start postgres && docker start redis
1818

1919
test:
2020
go test -v -cover ./service/... ./handler/...

server/go.mod

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,51 @@
11
module github.com/sentrionic/valkyrie
22

3-
go 1.17
3+
go 1.18
44

5-
// +heroku goVersion go1.17
5+
// +heroku goVersion go1.18
66

77
require (
88
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
9-
github.com/aws/aws-sdk-go v1.40.46
9+
github.com/aws/aws-sdk-go v1.43.20
1010
github.com/bwmarrin/snowflake v0.3.0
1111
github.com/disintegration/imaging v1.6.2
12-
github.com/gin-contrib/sessions v0.0.3
12+
github.com/gin-contrib/sessions v0.0.4
1313
github.com/gin-gonic/contrib v0.0.0-20201101042839-6a891bf89f19
14-
github.com/gin-gonic/gin v1.7.4
15-
github.com/go-openapi/spec v0.20.3 // indirect
16-
github.com/go-openapi/swag v0.19.15 // indirect
14+
github.com/gin-gonic/gin v1.7.7
15+
github.com/go-openapi/spec v0.20.4 // indirect
16+
github.com/go-openapi/swag v0.21.1 // indirect
1717
github.com/go-ozzo/ozzo-validation/v4 v4.3.0
18-
github.com/go-redis/redis/v8 v8.11.3
18+
github.com/go-redis/redis/v8 v8.11.5
1919
github.com/golang/protobuf v1.5.2 // indirect
20-
github.com/gorilla/websocket v1.4.2
21-
github.com/joho/godotenv v1.3.0
20+
github.com/gorilla/websocket v1.5.0
21+
github.com/joho/godotenv v1.4.0
2222
github.com/json-iterator/go v1.1.12 // indirect
2323
github.com/leodido/go-urn v1.2.1 // indirect
24-
github.com/lib/pq v1.10.3
24+
github.com/lib/pq v1.10.4
2525
github.com/mailru/easyjson v0.7.7 // indirect
2626
github.com/matoous/go-nanoid v1.5.0
2727
github.com/matoous/go-nanoid/v2 v2.0.0
28-
github.com/rs/cors v1.8.0
28+
github.com/rs/cors v1.8.2 // indirect
2929
github.com/stretchr/testify v1.7.0
3030
github.com/swaggo/files v0.0.0-20210815190702-a29dd2bc99b2
31-
github.com/swaggo/gin-swagger v1.3.1
32-
github.com/swaggo/swag v1.7.1
33-
github.com/ulule/limiter/v3 v3.8.0
34-
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
35-
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect
36-
golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 // indirect
37-
golang.org/x/tools v0.1.2 // indirect
38-
gorm.io/driver/postgres v1.1.1
39-
gorm.io/gorm v1.21.15
31+
github.com/swaggo/gin-swagger v1.4.1
32+
github.com/swaggo/swag v1.8.0
33+
github.com/ulule/limiter/v3 v3.10.0
34+
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd
35+
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
36+
golang.org/x/sys v0.0.0-20220317061510-51cd9980dadf // indirect
37+
golang.org/x/tools v0.1.10 // indirect
38+
gorm.io/driver/postgres v1.3.1
39+
gorm.io/gorm v1.23.2
4040
)
4141

42+
require github.com/rs/cors/wrapper/gin v0.0.0-20220223021805-a4a5ce87d5a2
43+
4244
require (
4345
github.com/KyleBanks/depth v1.2.1 // indirect
4446
github.com/PuerkitoBio/purell v1.1.1 // indirect
4547
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
46-
github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496 // indirect
48+
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
4749
github.com/boj/redistore v0.0.0-20180917114910-cd5dcc76aeff // indirect
4850
github.com/cespare/xxhash/v2 v2.1.2 // indirect
4951
github.com/davecgh/go-spew v1.1.1 // indirect
@@ -53,21 +55,21 @@ require (
5355
github.com/go-openapi/jsonreference v0.19.6 // indirect
5456
github.com/go-playground/locales v0.14.0 // indirect
5557
github.com/go-playground/universal-translator v0.18.0 // indirect
56-
github.com/go-playground/validator/v10 v10.9.0 // indirect
58+
github.com/go-playground/validator/v10 v10.10.1 // indirect
5759
github.com/gomodule/redigo v2.0.0+incompatible // indirect
5860
github.com/gorilla/context v1.1.1 // indirect
5961
github.com/gorilla/securecookie v1.1.1 // indirect
6062
github.com/gorilla/sessions v1.2.1 // indirect
6163
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
62-
github.com/jackc/pgconn v1.10.0 // indirect
64+
github.com/jackc/pgconn v1.11.0 // indirect
6365
github.com/jackc/pgio v1.0.0 // indirect
6466
github.com/jackc/pgpassfile v1.0.0 // indirect
65-
github.com/jackc/pgproto3/v2 v2.1.1 // indirect
67+
github.com/jackc/pgproto3/v2 v2.2.0 // indirect
6668
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
67-
github.com/jackc/pgtype v1.8.1 // indirect
68-
github.com/jackc/pgx/v4 v4.13.0 // indirect
69+
github.com/jackc/pgtype v1.10.0 // indirect
70+
github.com/jackc/pgx/v4 v4.15.0 // indirect
6971
github.com/jinzhu/inflection v1.0.0 // indirect
70-
github.com/jinzhu/now v1.1.2 // indirect
72+
github.com/jinzhu/now v1.1.5 // indirect
7173
github.com/jmespath/go-jmespath v0.4.0 // indirect
7274
github.com/josharian/intern v1.0.0 // indirect
7375
github.com/mattn/go-isatty v0.0.14 // indirect
@@ -76,8 +78,8 @@ require (
7678
github.com/pkg/errors v0.9.1 // indirect
7779
github.com/pmezard/go-difflib v1.0.0 // indirect
7880
github.com/stretchr/objx v0.2.0 // indirect
79-
github.com/ugorji/go/codec v1.2.6 // indirect
80-
golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d // indirect
81+
github.com/ugorji/go/codec v1.2.7 // indirect
82+
golang.org/x/image v0.0.0-20220302094943-723b81ca9867 // indirect
8183
golang.org/x/text v0.3.7 // indirect
8284
google.golang.org/protobuf v1.27.1 // indirect
8385
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)