From c21f80316740fb4a3452cfba60b8e125294d4edc Mon Sep 17 00:00:00 2001 From: Emilie BOUIN <48752456+Bemilie@users.noreply.github.com> Date: Tue, 9 Jul 2024 10:28:41 +0200 Subject: [PATCH] chore: bump runtime to newest versions (#90) * chore: bump runtime to newest versions * chore: bump runtime to newest versions * fix: review changes * fix: review changes --- .github/workflows/go-function-offline-testing.yml | 4 ++-- functions/cors-go/go.mod | 2 +- functions/go-mnq-sqs-publish/go.mod | 2 +- functions/go-mnq-sqs-publish/package-lock.json | 6 +++--- functions/go-mnq-sqs-publish/package.json | 2 +- functions/triggers-getting-started/go/go.mod | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go-function-offline-testing.yml b/.github/workflows/go-function-offline-testing.yml index 8d16466..d7ec67e 100644 --- a/.github/workflows/go-function-offline-testing.yml +++ b/.github/workflows/go-function-offline-testing.yml @@ -13,9 +13,9 @@ jobs: strategy: matrix: tests: [ - { directory: 'cors-go', go-version: '1.19' }, + { directory: 'cors-go', go-version: '1.22' }, { directory: 'go-hello-world', go-version: '1.20' }, - { directory: 'go-mnq-sqs-publish', go-version: '1.18' }, + { directory: 'go-mnq-sqs-publish', go-version: '1.21' }, { directory: 'go-upload-file-s3-multipart', go-version: '1.20' } ] diff --git a/functions/cors-go/go.mod b/functions/cors-go/go.mod index 33ac343..909943f 100644 --- a/functions/cors-go/go.mod +++ b/functions/cors-go/go.mod @@ -1,6 +1,6 @@ module cors-go -go 1.19 +go 1.22 require ( github.com/scaleway/serverless-functions-go v0.1.2 diff --git a/functions/go-mnq-sqs-publish/go.mod b/functions/go-mnq-sqs-publish/go.mod index a4c0a0f..f0a9bf6 100644 --- a/functions/go-mnq-sqs-publish/go.mod +++ b/functions/go-mnq-sqs-publish/go.mod @@ -1,6 +1,6 @@ module go-mnq-publish -go 1.18 +go 1.21 require ( github.com/aws/aws-sdk-go v1.44.189 diff --git a/functions/go-mnq-sqs-publish/package-lock.json b/functions/go-mnq-sqs-publish/package-lock.json index c343183..220f1f9 100644 --- a/functions/go-mnq-sqs-publish/package-lock.json +++ b/functions/go-mnq-sqs-publish/package-lock.json @@ -1,15 +1,15 @@ { - "name": "go-nmq-sqs", + "name": "go-mnq-sqs", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "go-nmq-sqs", + "name": "go-mnq-sqs", "version": "1.0.0", "license": "ISC", "devDependencies": { - "serverless-scaleway-functions": "^0.4.9" + "serverless-scaleway-functions": "^0.4.10" } }, "node_modules/@balena/dockerignore": { diff --git a/functions/go-mnq-sqs-publish/package.json b/functions/go-mnq-sqs-publish/package.json index 8fee37a..6cb97d6 100644 --- a/functions/go-mnq-sqs-publish/package.json +++ b/functions/go-mnq-sqs-publish/package.json @@ -1,5 +1,5 @@ { - "name": "go-nmq-sqs", + "name": "go-mnq-sqs", "version": "1.0.0", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/functions/triggers-getting-started/go/go.mod b/functions/triggers-getting-started/go/go.mod index 4016da5..0a6a151 100644 --- a/functions/triggers-getting-started/go/go.mod +++ b/functions/triggers-getting-started/go/go.mod @@ -1,6 +1,6 @@ module triggers-getting-started/go -go 1.19 +go 1.20 require github.com/scaleway/serverless-functions-go v0.1.2