Upgraded from v4.0.3 -> v4.1.0 (#114) #312
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test aws-cdk | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'test/go.mod' | |
cache-dependency-path: 'test/go.sum' | |
- name: Install dependencies | |
run: go install | |
working-directory: test | |
- name: Test cdk synth without a stack name | |
uses: ./ | |
with: | |
cdk_subcommand: "synth" | |
working_dir: "test" | |
- name: Test cdk synth using the latest version | |
uses: ./ | |
with: | |
cdk_subcommand: "synth" | |
cdk_stack: "TestStack" | |
working_dir: "test" | |
- name: Test cdk synth using 2.12.0 | |
uses: ./ | |
with: | |
cdk_subcommand: "synth" | |
cdk_version: "2.12.0" | |
cdk_stack: "TestStack" | |
working_dir: "test" |