Skip to content

Commit

Permalink
fix: W2531 EOL runtime (nodejs12.x) specified (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottBrenner authored Nov 16, 2022
1 parent 2905e9c commit 1fdc9d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fdc9d2

Please sign in to comment.