From 9291b82212292e7864b36143accb35bcc4aadca0 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez Date: Sat, 19 Aug 2023 22:56:22 -0400 Subject: [PATCH] Update all test files with go1.21, update all go.mod files to go1.19 --- .github/workflows/gosec.yml | 2 +- .github/workflows/test-arangodb.yml | 3 +-- .github/workflows/test-azureblob.yml | 2 +- .github/workflows/test-badger.yml | 2 +- .github/workflows/test-bbolt.yml | 2 +- .github/workflows/test-couchbase.yml | 1 + .github/workflows/test-dynamodb.yml | 3 +-- .github/workflows/test-etcd.yml | 1 + .github/workflows/test-memcache.yml | 3 +-- .github/workflows/test-memory.yml | 3 +-- .github/workflows/test-mongodb.yml | 3 +-- .github/workflows/test-mssql.yml | 2 +- .github/workflows/test-mysql.yml | 3 +-- .github/workflows/test-pebble.yml | 1 + .github/workflows/test-postgres.yml | 1 + .github/workflows/test-redis.yml | 2 +- .github/workflows/test-ristretto.yml | 2 +- .github/workflows/test-s3.yml | 2 +- .github/workflows/test-sqlite3.yml | 3 +-- arangodb/go.mod | 2 +- azureblob/go.mod | 2 +- badger/go.mod | 2 +- bbolt/go.mod | 2 +- dynamodb/go.mod | 2 +- go.mod | 2 +- memcache/go.mod | 2 +- memory/go.mod | 2 +- mongodb/go.mod | 2 +- mssql/go.mod | 2 +- mysql/go.mod | 2 +- redis/go.mod | 2 +- ristretto/go.mod | 2 +- s3/go.mod | 2 +- sqlite3/go.mod | 2 +- 34 files changed, 34 insertions(+), 37 deletions(-) diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index af8adca1..132339a4 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -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 diff --git a/.github/workflows/test-arangodb.yml b/.github/workflows/test-arangodb.yml index 04ab18bb..a36c1784 100644 --- a/.github/workflows/test-arangodb.yml +++ b/.github/workflows/test-arangodb.yml @@ -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 diff --git a/.github/workflows/test-azureblob.yml b/.github/workflows/test-azureblob.yml index e52e6724..7f76aee4 100644 --- a/.github/workflows/test-azureblob.yml +++ b/.github/workflows/test-azureblob.yml @@ -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: | diff --git a/.github/workflows/test-badger.yml b/.github/workflows/test-badger.yml index 39ebe229..ca06fb5e 100644 --- a/.github/workflows/test-badger.yml +++ b/.github/workflows/test-badger.yml @@ -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 diff --git a/.github/workflows/test-bbolt.yml b/.github/workflows/test-bbolt.yml index f1b3af6e..f996c09b 100644 --- a/.github/workflows/test-bbolt.yml +++ b/.github/workflows/test-bbolt.yml @@ -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 diff --git a/.github/workflows/test-couchbase.yml b/.github/workflows/test-couchbase.yml index 1e27cd9a..121f926d 100644 --- a/.github/workflows/test-couchbase.yml +++ b/.github/workflows/test-couchbase.yml @@ -17,6 +17,7 @@ jobs: go-version: - 1.19.x - 1.20.x + - 1.21.x steps: - name: Fetch Repository uses: actions/checkout@v3 diff --git a/.github/workflows/test-dynamodb.yml b/.github/workflows/test-dynamodb.yml index 8af75713..bebb4816 100644 --- a/.github/workflows/test-dynamodb.yml +++ b/.github/workflows/test-dynamodb.yml @@ -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 diff --git a/.github/workflows/test-etcd.yml b/.github/workflows/test-etcd.yml index 9dbd82b5..5fca1f08 100644 --- a/.github/workflows/test-etcd.yml +++ b/.github/workflows/test-etcd.yml @@ -17,6 +17,7 @@ jobs: go-version: - 1.19.x - 1.20.x + - 1.21.x steps: - name: Fetch Repository uses: actions/checkout@v3 diff --git a/.github/workflows/test-memcache.yml b/.github/workflows/test-memcache.yml index 24187d24..e45c0e95 100644 --- a/.github/workflows/test-memcache.yml +++ b/.github/workflows/test-memcache.yml @@ -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 diff --git a/.github/workflows/test-memory.yml b/.github/workflows/test-memory.yml index 2320b2bc..c7f4d34d 100644 --- a/.github/workflows/test-memory.yml +++ b/.github/workflows/test-memory.yml @@ -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 diff --git a/.github/workflows/test-mongodb.yml b/.github/workflows/test-mongodb.yml index cea6b55d..3c8ca3f0 100644 --- a/.github/workflows/test-mongodb.yml +++ b/.github/workflows/test-mongodb.yml @@ -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 diff --git a/.github/workflows/test-mssql.yml b/.github/workflows/test-mssql.yml index 8fc02d9b..55a9e5ee 100644 --- a/.github/workflows/test-mssql.yml +++ b/.github/workflows/test-mssql.yml @@ -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 diff --git a/.github/workflows/test-mysql.yml b/.github/workflows/test-mysql.yml index fb227bed..9ed90152 100644 --- a/.github/workflows/test-mysql.yml +++ b/.github/workflows/test-mysql.yml @@ -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 diff --git a/.github/workflows/test-pebble.yml b/.github/workflows/test-pebble.yml index bfdc5c91..30f86bcc 100644 --- a/.github/workflows/test-pebble.yml +++ b/.github/workflows/test-pebble.yml @@ -16,6 +16,7 @@ jobs: go-version: - 1.19.x - 1.20.x + - 1.21.x runs-on: ubuntu-latest steps: - name: Fetch Repository diff --git a/.github/workflows/test-postgres.yml b/.github/workflows/test-postgres.yml index e4832915..3e317496 100644 --- a/.github/workflows/test-postgres.yml +++ b/.github/workflows/test-postgres.yml @@ -29,6 +29,7 @@ jobs: go-version: - 1.19.x - 1.20.x + - 1.21.x steps: - name: Fetch Repository uses: actions/checkout@v3 diff --git a/.github/workflows/test-redis.yml b/.github/workflows/test-redis.yml index 8aa369cf..3a476fad 100644 --- a/.github/workflows/test-redis.yml +++ b/.github/workflows/test-redis.yml @@ -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' diff --git a/.github/workflows/test-ristretto.yml b/.github/workflows/test-ristretto.yml index 53b60133..cb115eec 100644 --- a/.github/workflows/test-ristretto.yml +++ b/.github/workflows/test-ristretto.yml @@ -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 diff --git a/.github/workflows/test-s3.yml b/.github/workflows/test-s3.yml index 6b90ff8e..728a6f26 100644 --- a/.github/workflows/test-s3.yml +++ b/.github/workflows/test-s3.yml @@ -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: | diff --git a/.github/workflows/test-sqlite3.yml b/.github/workflows/test-sqlite3.yml index dc9eb22f..68ce9e04 100644 --- a/.github/workflows/test-sqlite3.yml +++ b/.github/workflows/test-sqlite3.yml @@ -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 diff --git a/arangodb/go.mod b/arangodb/go.mod index 671cbb46..9bc8df22 100644 --- a/arangodb/go.mod +++ b/arangodb/go.mod @@ -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 diff --git a/azureblob/go.mod b/azureblob/go.mod index 7d324aaa..ccf67bb9 100644 --- a/azureblob/go.mod +++ b/azureblob/go.mod @@ -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 diff --git a/badger/go.mod b/badger/go.mod index e2c7c4a4..06ffb973 100644 --- a/badger/go.mod +++ b/badger/go.mod @@ -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 diff --git a/bbolt/go.mod b/bbolt/go.mod index 6a5183e7..c4fc5eeb 100644 --- a/bbolt/go.mod +++ b/bbolt/go.mod @@ -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 diff --git a/dynamodb/go.mod b/dynamodb/go.mod index 4e3377ef..f96653ce 100644 --- a/dynamodb/go.mod +++ b/dynamodb/go.mod @@ -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 diff --git a/go.mod b/go.mod index d6f38727..aa4d08f5 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/gofiber/storage -go 1.18 \ No newline at end of file +go 1.19 \ No newline at end of file diff --git a/memcache/go.mod b/memcache/go.mod index 4d298a93..c38227b7 100644 --- a/memcache/go.mod +++ b/memcache/go.mod @@ -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 diff --git a/memory/go.mod b/memory/go.mod index 4a88ddfa..7f16672e 100644 --- a/memory/go.mod +++ b/memory/go.mod @@ -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 diff --git a/mongodb/go.mod b/mongodb/go.mod index 7c6b7359..39db57df 100644 --- a/mongodb/go.mod +++ b/mongodb/go.mod @@ -1,6 +1,6 @@ module github.com/gofiber/storage/mongodb -go 1.18 +go 1.19 require ( github.com/stretchr/testify v1.8.4 diff --git a/mssql/go.mod b/mssql/go.mod index d9634545..0f6a8e11 100644 --- a/mssql/go.mod +++ b/mssql/go.mod @@ -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 diff --git a/mysql/go.mod b/mysql/go.mod index f82540fd..48df9d28 100644 --- a/mysql/go.mod +++ b/mysql/go.mod @@ -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 diff --git a/redis/go.mod b/redis/go.mod index 34021fca..55795942 100644 --- a/redis/go.mod +++ b/redis/go.mod @@ -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 diff --git a/ristretto/go.mod b/ristretto/go.mod index 95efec9d..2eab1fd8 100644 --- a/ristretto/go.mod +++ b/ristretto/go.mod @@ -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 diff --git a/s3/go.mod b/s3/go.mod index a71e2d9d..0c4a9f53 100644 --- a/s3/go.mod +++ b/s3/go.mod @@ -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 diff --git a/sqlite3/go.mod b/sqlite3/go.mod index da97c47c..55986a0a 100644 --- a/sqlite3/go.mod +++ b/sqlite3/go.mod @@ -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