From 9f48bd042018ec50e9d832fb725bf9b979f20bf7 Mon Sep 17 00:00:00 2001 From: Dave Arnold Date: Thu, 17 Apr 2025 02:15:29 -0700 Subject: [PATCH] Update Python setup in build workflow to use actions/setup-python@v4 and improve dependency installation --- .github/workflows/build.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index adc1ec4..8060d2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,12 +35,17 @@ jobs: curl -sSL https://raw.githubusercontent.com/HappyPathway/centralized-actions/main/gtag.py -o gtag.py curl -sSL https://raw.githubusercontent.com/HappyPathway/centralized-actions/main/gtag_requirements.txt -o requirements.txt - - name: Setup Python - uses: actions/setup-python@v2 + - name: Setup minimal Python for gtag + uses: actions/setup-python@v4 with: python-version: '3.11' - cache: pip - + cache: 'pip' + cache-dependency-path: requirements.txt + + - name: Install gtag dependencies + run: | + python -m pip install -r requirements.txt + - name: Setup Terraform uses: hashicorp/setup-terraform@v3.1.2 with: