From 22ab2cd350bc5821d3bdc1167ddb1a2d282a1125 Mon Sep 17 00:00:00 2001 From: Tomoya Iwata Date: Sun, 22 Dec 2024 16:50:14 +0900 Subject: [PATCH 1/2] chore: pinning GitHub Actions runner version for Terraform test --- .github/workflows/tests_terraform_examples.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests_terraform_examples.yml b/.github/workflows/tests_terraform_examples.yml index 26d59d99b4ce..728e2324301e 100644 --- a/.github/workflows/tests_terraform_examples.yml +++ b/.github/workflows/tests_terraform_examples.yml @@ -23,7 +23,7 @@ jobs: echo "folders=$folders" >> $GITHUB_OUTPUT test: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: find-jobs strategy: fail-fast: false @@ -44,6 +44,8 @@ jobs: python -m build docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock python:3.10-slim /moto/scripts/ci_moto_server.sh & python scripts/ci_wait_for_server.py + - name: Set up Terraform + uses: hashicorp/setup-terraform@v3 - name: Run tests if: ${{ matrix.service != 'rds' }} run: | From e93f3f2325364dc52fbd05527c7a9715d480973b Mon Sep 17 00:00:00 2001 From: Tomoya Iwata Date: Sun, 22 Dec 2024 20:41:46 +0900 Subject: [PATCH 2/2] chore: revert explicitly specify GitHub Actions runner version --- .github/workflows/tests_terraform_examples.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests_terraform_examples.yml b/.github/workflows/tests_terraform_examples.yml index 728e2324301e..9bb747ff01f2 100644 --- a/.github/workflows/tests_terraform_examples.yml +++ b/.github/workflows/tests_terraform_examples.yml @@ -23,7 +23,7 @@ jobs: echo "folders=$folders" >> $GITHUB_OUTPUT test: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest needs: find-jobs strategy: fail-fast: false