Skip to content

Commit

Permalink
remove older v1 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikschubert committed Dec 18, 2024
1 parent 4628d67 commit 64d91bf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ on:
inputs:
node-version:
required: false
default: '22.x'
default: "22.x"
python-version:
required: false
default: '3.12'
default: "3.12"
run-all-latest-cdk-versions:
required: false
type: boolean
Expand Down Expand Up @@ -42,22 +42,20 @@ jobs:
run: |
export VERSIONS_ARRAY=$(npm view aws-cdk versions --json | jq -c '.[-256:]' )
echo "VERSIONS_ARRAY=$VERSIONS_ARRAY" >> $GITHUB_ENV
- name: Obtain default list of aws-cdk versions
id: simple-matrix
if: ${{ inputs.run-all-latest-cdk-versions == false }}
run: |
export VERSIONS_ARRAY='["1.10.0", "1.38.0", "1.95.1", "1.150.0", "2.30.0", "2.50.0", "2.75.0", "2.120.0", "2.166.0", "2.167.0", ""]'
export VERSIONS_ARRAY='["1.95.1", "1.150.0", "2.30.0", "2.50.0", "2.75.0", "2.120.0", "2.166.0", "2.167.0", ""]'
echo "VERSIONS_ARRAY=$VERSIONS_ARRAY" >> $GITHUB_ENV
- name: Generate matrix
id: set-matrix
run: |
export MATRIX="{\"cdk-version\":$VERSIONS_ARRAY}"
echo "MATRIX=$MATRIX" >> $GITHUB_OUTPUT

version-testing:
runs-on: ubuntu-latest
needs: generate-cdk-version-matrix
Expand All @@ -77,7 +75,7 @@ jobs:
- name: Setup Python ${{ inputs.python-version }}
uses: actions/setup-python@v2
with:
python-version: '${{ inputs.python-version }}'
python-version: "${{ inputs.python-version }}"

- name: Install dependencies for aws-cdk-local
working-directory: repo
Expand Down

0 comments on commit 64d91bf

Please sign in to comment.