Skip to content

Commit

Permalink
Update Python setup in build workflow to use actions/setup-python@v4 …
Browse files Browse the repository at this point in the history
…and improve dependency installation
  • Loading branch information
Dave Arnold committed Apr 17, 2025
1 parent 107079e commit 9f48bd0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9f48bd0

Please sign in to comment.