Skip to content

Commit c6f0b1e

Browse files
committed
Fix pre-commit workflow: add terraform installation step
1 parent 498a9b7 commit c6f0b1e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/common-pre-commit.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616

17+
- run: |
18+
wget "https://releases.hashicorp.com/terraform/1.5.7/terraform_1.5.7_linux_amd64.zip"
19+
unzip "terraform_1.5.7_linux_amd64.zip"
20+
sudo mv terraform /usr/bin/terraform && chmod +x /usr/bin/terraform
21+
shell: bash
22+
1723
- uses: actions/setup-python@v3
1824

1925
- run: python -m pip install pre-commit==2.17.0 shellcheck-py==0.8.0.3

0 commit comments

Comments
 (0)