Update all test files with go1.21, update all go.mod files to go1.19

This commit is contained in:
Juan Calderon-Perez
2023-08-19 22:56:22 -04:00
parent c338ddedc1
commit 9291b82212
34 changed files with 34 additions and 37 deletions

View File

@@ -30,7 +30,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '^1.18.x'
go-version: '^1.19.x'
check-latest: true
cache: false
- name: Install Gosec

View File

@@ -22,10 +22,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -15,9 +15,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Install Azurite
run: |

View File

@@ -14,9 +14,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
runs-on: ubuntu-latest
steps:
- name: Fetch Repository

View File

@@ -15,9 +15,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -17,6 +17,7 @@ jobs:
go-version:
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -20,10 +20,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -17,6 +17,7 @@ jobs:
go-version:
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -20,10 +20,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -14,10 +14,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
runs-on: ubuntu-latest
steps:
- name: Fetch Repository

View File

@@ -20,10 +20,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -32,9 +32,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -28,10 +28,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -16,6 +16,7 @@ jobs:
go-version:
- 1.19.x
- 1.20.x
- 1.21.x
runs-on: ubuntu-latest
steps:
- name: Fetch Repository

View File

@@ -29,6 +29,7 @@ jobs:
go-version:
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -15,9 +15,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
redis:
- '6.x'
- '7.x'

View File

@@ -15,9 +15,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Fetch Repository
uses: actions/checkout@v3

View File

@@ -15,9 +15,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
steps:
- name: Install MinIO
run: |

View File

@@ -14,10 +14,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
runs-on: ubuntu-latest
steps:
- name: Fetch Repository

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/arangodb
go 1.18
go 1.19
require (
github.com/arangodb/go-driver v1.6.0

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/azureblob
go 1.18
go 1.19
require (
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/badger
go 1.18
go 1.19
require (
github.com/dgraph-io/badger/v3 v3.2103.5

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/bbolt
go 1.18
go 1.19
require (
github.com/gofiber/utils/v2 v2.0.0-beta.3

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/dynamodb
go 1.18
go 1.19
require (
github.com/aws/aws-sdk-go-v2 v1.20.1

2
go.mod
View File

@@ -1,3 +1,3 @@
module github.com/gofiber/storage
go 1.18
go 1.19

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/memcache
go 1.18
go 1.19
require (
github.com/bradfitz/gomemcache v0.0.0-20221031212613-62deef7fc822

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/memory
go 1.18
go 1.19
require (
github.com/gofiber/utils/v2 v2.0.0-beta.3

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/mongodb
go 1.18
go 1.19
require (
github.com/stretchr/testify v1.8.4

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/mssql
go 1.18
go 1.19
require (
github.com/microsoft/go-mssqldb v1.5.0

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/mysql
go 1.18
go 1.19
require (
github.com/go-sql-driver/mysql v1.7.1

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/redis/v2
go 1.18
go 1.19
require (
github.com/redis/go-redis/v9 v9.1.0

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/ristretto
go 1.18
go 1.19
require (
github.com/dgraph-io/ristretto v0.1.1

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/s3
go 1.18
go 1.19
require (
github.com/aws/aws-sdk-go-v2 v1.20.1

View File

@@ -1,6 +1,6 @@
module github.com/gofiber/storage/sqlite3
go 1.18
go 1.19
require (
github.com/mattn/go-sqlite3 v1.14.17