Skip to content

Commit d480c11

Browse files
committed
switch github action for ci runs
1 parent 940a571 commit d480c11

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/main.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,12 @@ jobs:
2828
node-version: 18
2929

3030
- name: Start LocalStack
31+
uses: LocalStack/[email protected]
32+
with:
33+
image-tag: 'latest'
34+
install-awslocal: 'true'
3135
env:
3236
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
33-
DNS_ADDRESS: 0
34-
run: |
35-
pip install localstack awscli-local[ver1]
36-
pip install terraform-local
37-
docker pull localstack/localstack-pro:latest
38-
# Start LocalStack in the background
39-
DEBUG=1 localstack start -d
40-
# Wait 30 seconds for the LocalStack container to become ready before timing out
41-
echo "Waiting for LocalStack startup..."
42-
localstack wait -t 15
43-
echo "Startup complete"
4437

4538
- name: Install CDK
4639
run: |

0 commit comments

Comments
 (0)