chore: Release 3.14.0 #613
Workflow file for this run
This file contains hidden or 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: CFN Nag | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - "test_infra/**" | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - "test_infra/**" | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| env: | |
| CDK_DEFAULT_ACCOUNT: 111111111111 | |
| CDK_DEFAULT_REGION: us-east-1 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 18 | |
| - name: Cache Node.js modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.OS }}-node- | |
| ${{ runner.OS }}- | |
| - name: Install CDK | |
| run: | | |
| npm install -g aws-cdk | |
| cdk --version | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.11 | |
| - name: Rust latest | |
| run: rustup update | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Set up cdk.json | |
| run: | | |
| cd test_infra | |
| cat <<EOT >> cdk.context.json | |
| { | |
| "availability-zones:account=111111111111:region=us-east-1": [ | |
| "us-east-1a", | |
| "us-east-1b", | |
| "us-east-1c", | |
| "us-east-1d", | |
| "us-east-1e", | |
| "us-east-1f" | |
| ] | |
| } | |
| EOT | |
| cat cdk.json | jq -r '.context.databases.neptune = true' | jq -r '.context.databases.oracle = true' | jq -r '.context.databases.sqlserver = true' > overwrite.cdk.json | |
| rm cdk.json && mv overwrite.cdk.json cdk.json | |
| - name: CDK Synth | |
| run: | | |
| cd test_infra | |
| uv sync --frozen --no-install-project --verbose | |
| uv run cdk synth | |
| working-directory: ${{ github.workspace }} | |
| - uses: stelligent/cfn_nag@master | |
| with: | |
| input_path: test_infra/cdk.out | |
| extra_args: --ignore-fatal |