Skip to content

Commit

Permalink
fix CICD issue with pre-commit action (#2775)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis authored Oct 15, 2024
1 parent 38960ea commit ccb8b7e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/run-precommit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ jobs:
- name: Checkout repository 🔔
uses: actions/[email protected]

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Setup terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.5.7"


- name: Run terraform pre-commit ⚡️
uses: pre-commit/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion src/_nebari/provider/cicd/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def checkout_image_step():
def setup_python_step():
return GHA_job_step(
name="Set up Python",
uses="actions/setup-python@v4",
uses="actions/setup-python@v5",
with_={"python-version": GHA_job_steps_extras(LATEST_SUPPORTED_PYTHON_VERSION)},
)

Expand Down

0 comments on commit ccb8b7e

Please sign in to comment.