Skip to content

Merge pull request #87 from tj-actions/renovate/actions-cache-4.x #248

Merge pull request #87 from tj-actions/renovate/actions-cache-4.x

Merge pull request #87 from tj-actions/renovate/actions-cache-4.x #248

Workflow file for this run

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.17.5'
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- 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"