Skip to content

Commit

Permalink
Install opentofu in pre-commit github action
Browse files Browse the repository at this point in the history
  • Loading branch information
claha committed Oct 16, 2024
1 parent 542dc97 commit 14dcb3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# yamllint disable rule:line-length
name: Run pre-commit hooks

on: # yamllint disable-line rule:truthy
Expand All @@ -11,6 +12,11 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- run: |
apt update
apt install -y curl
curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh
sh install-opentofu.sh --install-method deb
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
Expand Down

0 comments on commit 14dcb3f

Please sign in to comment.