From 685fec69b1cc2aebe82335b25587cd5c1515f1db Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 15 Nov 2022 19:44:46 -0800 Subject: [PATCH 1/9] fix: W2531 EOL runtime (nodejs12.x) specified --- examples/template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/template.yml b/examples/template.yml index 90f444b..3365132 100644 --- a/examples/template.yml +++ b/examples/template.yml @@ -60,8 +60,8 @@ Resources: Properties: FunctionName: Fn::Sub: lambda-function-${EnvName} - Description: LambdaFunctioni of nodejs12.x. - Runtime: nodejs12.x + Description: LambdaFunctioni of nodejs16.x. + Runtime: nodejs16.x Code: ZipFile: "exports.handler = function(event, context){\n From 120c8a50399a381166fa74615425cefbcb0c3f66 Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 15 Nov 2022 19:46:30 -0800 Subject: [PATCH 2/9] Update template.yml --- examples/template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/template.yml b/examples/template.yml index 3365132..f593299 100644 --- a/examples/template.yml +++ b/examples/template.yml @@ -60,8 +60,8 @@ Resources: Properties: FunctionName: Fn::Sub: lambda-function-${EnvName} - Description: LambdaFunctioni of nodejs16.x. - Runtime: nodejs16.x + Description: LambdaFunctioni of nodejs14.x. + Runtime: nodejs14.x Code: ZipFile: "exports.handler = function(event, context){\n From 89dde479d177fd0d407966f89e5cb62184485caf Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 15 Nov 2022 20:00:03 -0800 Subject: [PATCH 3/9] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f0be37c..fa9949f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,7 @@ jobs: - name: Setup Cloud Formation Linter with Specific Version uses: ./ with: - version: "0.53.0" + version: "0.71.1" # Step 5 - name: Print the Cloud Formation Linter Version & run Linter. run: | @@ -50,7 +50,7 @@ jobs: uses: ./ with: command: cfn-lint -t ./examples/template.yml - version: "0.53.0" + version: "0.71.1" # Step 7 ### Testing specifying a version and command - name: Testing with CFN Lint Command From 8bf7c9c4305431f4fe6a3d1d271d157ac5cca0c6 Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 15 Nov 2022 20:00:13 -0800 Subject: [PATCH 4/9] Update template.yml --- examples/template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/template.yml b/examples/template.yml index f593299..3365132 100644 --- a/examples/template.yml +++ b/examples/template.yml @@ -60,8 +60,8 @@ Resources: Properties: FunctionName: Fn::Sub: lambda-function-${EnvName} - Description: LambdaFunctioni of nodejs14.x. - Runtime: nodejs14.x + Description: LambdaFunctioni of nodejs16.x. + Runtime: nodejs16.x Code: ZipFile: "exports.handler = function(event, context){\n From af7aae3bd1c35388ece1e396c1840eb478511d8b Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 15 Nov 2022 20:03:00 -0800 Subject: [PATCH 5/9] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa9949f..7cb19b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,7 @@ jobs: - name: Setup Cloud Formation Linter with Specific Version uses: ./ with: - version: "0.71.1" + version: "0.63.2" # Step 5 - name: Print the Cloud Formation Linter Version & run Linter. run: | @@ -50,7 +50,7 @@ jobs: uses: ./ with: command: cfn-lint -t ./examples/template.yml - version: "0.71.1" + version: "0.63.2" # Step 7 ### Testing specifying a version and command - name: Testing with CFN Lint Command From 33b64b95314adf1850212ed052165c206358596e Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 15 Nov 2022 20:05:01 -0800 Subject: [PATCH 6/9] Update template.yml --- examples/template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/template.yml b/examples/template.yml index 3365132..f593299 100644 --- a/examples/template.yml +++ b/examples/template.yml @@ -60,8 +60,8 @@ Resources: Properties: FunctionName: Fn::Sub: lambda-function-${EnvName} - Description: LambdaFunctioni of nodejs16.x. - Runtime: nodejs16.x + Description: LambdaFunctioni of nodejs14.x. + Runtime: nodejs14.x Code: ZipFile: "exports.handler = function(event, context){\n From 4b7379aad648ad5c6d59129dfeb51d1c170fec4b Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 15 Nov 2022 20:07:56 -0800 Subject: [PATCH 7/9] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7cb19b9..f0be37c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,7 @@ jobs: - name: Setup Cloud Formation Linter with Specific Version uses: ./ with: - version: "0.63.2" + version: "0.53.0" # Step 5 - name: Print the Cloud Formation Linter Version & run Linter. run: | @@ -50,7 +50,7 @@ jobs: uses: ./ with: command: cfn-lint -t ./examples/template.yml - version: "0.63.2" + version: "0.53.0" # Step 7 ### Testing specifying a version and command - name: Testing with CFN Lint Command From f27e4b5686e9c1718dafaa7d9a263e3ec8aafbef Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 15 Nov 2022 20:11:36 -0800 Subject: [PATCH 8/9] Update main.yml --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f0be37c..2b3e828 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,11 +15,12 @@ jobs: fail-fast: false matrix: os: - - ubuntu-18.04 - ubuntu-20.04 + - ubuntu-22.04 - windows-2019 - windows-2022 - - macos-10.15 + - macos-11 + - macos-12 name: ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: @@ -38,7 +39,7 @@ jobs: - name: Setup Cloud Formation Linter with Specific Version uses: ./ with: - version: "0.53.0" + version: "0.71.1" # Step 5 - name: Print the Cloud Formation Linter Version & run Linter. run: | @@ -50,7 +51,7 @@ jobs: uses: ./ with: command: cfn-lint -t ./examples/template.yml - version: "0.53.0" + version: "0.71.1" # Step 7 ### Testing specifying a version and command - name: Testing with CFN Lint Command From 1d839993db90aa43bf833704b4fb703574862ca9 Mon Sep 17 00:00:00 2001 From: Scott Brenner Date: Tue, 15 Nov 2022 20:11:47 -0800 Subject: [PATCH 9/9] Update template.yml --- examples/template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/template.yml b/examples/template.yml index f593299..3365132 100644 --- a/examples/template.yml +++ b/examples/template.yml @@ -60,8 +60,8 @@ Resources: Properties: FunctionName: Fn::Sub: lambda-function-${EnvName} - Description: LambdaFunctioni of nodejs14.x. - Runtime: nodejs14.x + Description: LambdaFunctioni of nodejs16.x. + Runtime: nodejs16.x Code: ZipFile: "exports.handler = function(event, context){\n