Skip to content

Remove duplicate CI step #1157

Remove duplicate CI step

Remove duplicate CI step #1157

Workflow file for this run

name: "Tests"
on: [push]
jobs:
unit:
name: npm test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm test
integ:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- windows-2022
- macos-13
- macos-14
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
# Step 1
- name: Git Checkout
uses: actions/checkout@v4
# Step 2
- name: Setup Cloud Formation Linter with Latest Version
uses: ./
# Step 3
- name: Print the Cloud Formation Linter Version & run Linter.
run: |
cfn-lint --version
cfn-lint -t ./examples/template.yml
# Step 4
- name: Setup Cloud Formation Linter with Specific Version
uses: ./
with:
version: "0.72.0"
# Step 5
- name: Print the Cloud Formation Linter Version & run Linter.
run: |
cfn-lint --version
cfn-lint -t ./examples/template.yml
# Step 6
### Testing specifying a version and command
- name: Testing with CFN Lint Version & Command
uses: ./
with:
command: cfn-lint -t ./examples/template.yml