Skip to content

Commit

Permalink
Merge pull request #764 from gofiber/updates
Browse files Browse the repository at this point in the history
Updates to dependencies and test workflows
  • Loading branch information
ReneWerner87 authored Mar 29, 2023
2 parents 1ab2060 + 62a2237 commit f1db2b9
Show file tree
Hide file tree
Showing 28 changed files with 92 additions and 90 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '^1.17.6'
go-version: '^1.17.x'
- name: Install Gosec
run: |
export PATH=${PATH}:`go env GOPATH`/bin
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test-arangodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ jobs:
strategy:
matrix:
go-version:
- 1.16.x
- 1.17.x
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-azureblob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
go-version:
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install Azurite
run: |
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test-badger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ jobs:
go-version:
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
runs-on: '${{ matrix.platform }}'
- 1.20.x
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test-bbolt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
go-version:
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand All @@ -44,4 +42,4 @@ jobs:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Run Test
run: cd ./bbolt && go mod tidy && go test ./... -v -race
run: cd ./bbolt && go test ./... -v -race
6 changes: 2 additions & 4 deletions .github/workflows/test-dynamodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ jobs:
strategy:
matrix:
go-version:
- 1.16.x
- 1.17.x
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test-memcache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ jobs:
strategy:
matrix:
go-version:
- 1.16.x
- 1.17.x
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test-mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ jobs:
strategy:
matrix:
go-version:
- 1.16.x
- 1.17.x
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand All @@ -51,3 +49,4 @@ jobs:
uses: actions/checkout@v3
- name: Run Test
run: cd ./mongodb && go test ./... -v -race

7 changes: 2 additions & 5 deletions .github/workflows/test-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
services:
mssql:
image: 'mcmoe/mssqldocker:v2019.CU4.0'
image: 'mcmoe/mssqldocker:latest'
ports:
- '1433:1433'
env:
Expand All @@ -32,12 +32,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.16.x
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ jobs:
strategy:
matrix:
go-version:
- 1.16.x
- 1.17.x
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ jobs:
go-version:
- 1.19.x
- 1.20.x
platform:
- ubuntu-latest
- windows-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
- 1.18.x
- 1.19.x
- 1.20.x
platform:
- ubuntu-latest
- windows-latest
redis:
- '6.x'
- '7.x'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test-ristretto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
go-version:
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand All @@ -44,4 +42,4 @@ jobs:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Run Test
run: cd ./ristretto && go mod tidy && go test ./... -v -race
run: cd ./ristretto && go test ./... -v -race
5 changes: 1 addition & 4 deletions .github/workflows/test-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.16.x
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
- 1.20.x
steps:
- name: Install MinIO
run: |
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test-sqlite3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ jobs:
strategy:
matrix:
go-version:
- 1.16.x
- 1.17.x
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
runs-on: '${{ matrix.platform }}'
- 1.20.x
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ jobs:
strategy:
matrix:
go-version:
- 1.16.x
- 1.17.x
- 1.18.x
- 1.19.x
platform:
- ubuntu-latest
- windows-latest
runs-on: '${{ matrix.platform }}'
- 1.20.x
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.19.x
go-version: 1.18.x
- name: Fetch Repository
uses: actions/checkout@v3
- name: Install Govulncheck
Expand Down
7 changes: 6 additions & 1 deletion arangodb/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
module github.com/gofiber/storage/arangodb

go 1.16
go 1.17

require (
github.com/arangodb/go-driver v1.5.2
github.com/gofiber/utils v1.0.1
)

require (
github.com/arangodb/go-velocypack v0.0.0-20200318135517-5af53c29c67e // indirect
github.com/pkg/errors v0.9.1 // indirect
)
18 changes: 17 additions & 1 deletion dynamodb/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gofiber/storage/dynamodb

go 1.16
go 1.17

require (
github.com/aws/aws-sdk-go-v2 v1.17.7
Expand All @@ -10,3 +10,19 @@ require (
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.2
github.com/gofiber/utils v1.0.1
)

require (
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.31 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.32 // indirect
github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.14.7 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.25 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.12.6 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.6 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.18.7 // indirect
github.com/aws/smithy-go v1.13.5 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
)
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/gofiber/storage

go 1.16
go 1.17
2 changes: 1 addition & 1 deletion memcache/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gofiber/storage/memcache

go 1.16
go 1.17

require (
github.com/bradfitz/gomemcache v0.0.0-20221031212613-62deef7fc822
Expand Down
2 changes: 1 addition & 1 deletion memory/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/gofiber/storage/memory

go 1.16
go 1.17

require github.com/gofiber/utils v1.0.1
16 changes: 14 additions & 2 deletions mongodb/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
module github.com/gofiber/storage/mongodb

go 1.16
go 1.17

require (
github.com/gofiber/utils v1.0.1
go.mongodb.org/mongo-driver v1.11.3
)

require (
github.com/golang/snappy v0.0.4 // indirect
github.com/klauspost/compress v1.13.6 // indirect
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.1 // indirect
github.com/xdg-go/stringprep v1.0.3 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
go.mongodb.org/mongo-driver v1.11.3
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/text v0.3.7 // indirect
)
3 changes: 2 additions & 1 deletion mssql/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gofiber/storage/mssql

go 1.16
go 1.18

require (
github.com/gofiber/utils v1.0.1
Expand All @@ -9,5 +9,6 @@ require (

require (
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
github.com/golang-sql/sqlexp v0.1.0 // indirect
golang.org/x/crypto v0.3.0 // indirect
)
17 changes: 0 additions & 17 deletions mssql/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,18 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.3.0 h1:a06MkbcxBrEFc0w0QIZWXrH/9cCX6KJyWbBOIwAn+7A=
golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
Expand All @@ -71,21 +62,13 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220224120231-95c6836cb0e7/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU=
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c=
Expand Down
Loading

0 comments on commit f1db2b9

Please sign in to comment.