From 2ef4d9ddf3039304aaa5d54f83640555eaf05338 Mon Sep 17 00:00:00 2001 From: jonathan langlois Date: Tue, 29 Oct 2024 09:41:56 -0700 Subject: [PATCH] test: pipeline add branch for pipeline test --- .github/workflows/terraform.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/terraform.yaml b/.github/workflows/terraform.yaml index 371a2ea..46a3543 100644 --- a/.github/workflows/terraform.yaml +++ b/.github/workflows/terraform.yaml @@ -23,8 +23,22 @@ jobs: - uses: hmarr/debug-action@v3 - uses: actions/checkout@v4 - - name: Setup Tools - uses: ./.github/actions/setup-tools + - name: Install asdf + uses: asdf-vm/actions/setup@v3 + + - name: Cache tools + uses: actions/cache@v4 + with: + path: /home/runner/.asdf + key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }} + + - name: Install required tools + run: | + cat .tool-versions | cut -f 1 -d ' ' | xargs -n 1 asdf plugin-add || true + asdf plugin-update --all + asdf install + asdf reshim + shell: bash - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4