Skip to content

Commit c79fa69

Browse files
committed
chore: update atlas-init setup in contract testing workflow
1 parent dcf4a52 commit c79fa69

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

.github/workflows/contract-testing.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -884,9 +884,11 @@ jobs:
884884
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
885885
with:
886886
go-version-file: 'cfn-resources/go.mod'
887-
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
887+
- name: setup_atlas_init
888+
uses: "EspenAlbert/atlas-init/.github/templates/setup_steps@8a1e10c8363727d66b4229cf3beeecba07c93c9b"
888889
with:
889-
python-version: "3.12"
890+
tf_version: "1.10.2"
891+
extra_pypi_packages: "cloudformation-cli cloudformation-cli-go-plugin setuptools"
890892
- uses: aws-actions/setup-sam@2360ef6d90015369947b45b496193ab9976a9b04
891893
with:
892894
use-installer: true
@@ -895,18 +897,6 @@ jobs:
895897
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_TEST_ENV }}
896898
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_TEST_ENV }}
897899
aws-region: us-east-1
898-
- uses: yezz123/setup-uv@ab6be5a42627f19dc36e57b548592a5e52cece4a
899-
with:
900-
uv-version: "0.4.18"
901-
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
902-
name: configure terraform
903-
with:
904-
terraform_version: "1.10.2"
905-
- name: setup Atlas Init CLI
906-
run: |
907-
uv pip install -U atlas-init==0.4.1 cloudformation-cli cloudformation-cli-go-plugin setuptools --system
908-
mkdir -p profiles/${{ env.ATLAS_INIT_PROFILE }}
909-
echo "ATLAS_INIT_PROFILES_PATH=$(pwd)/profiles" >> "$GITHUB_ENV"
910900
- name: atlas-init-init
911901
run: atlas-init init
912902
- name: atlas-init-apply

cfn-resources/trigger/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ See the examples [CFN Template](../../examples/trigger/trigger.json) for example
1818

1919
## Development
2020
```shell
21-
21+
2222
atlas-init init
2323
cd cfn-resources/trigger
2424
atlas-init apply

0 commit comments

Comments
 (0)