Skip to content

Commit

Permalink
fix: install tofu in the pipelie
Browse files Browse the repository at this point in the history
Signed-off-by: Gamunu Balagalla <gamunu@fastcode.io>
  • Loading branch information
gamunu committed Sep 12, 2024
1 parent 649e2a3 commit 0c940c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@ env:
jobs:
generate-provider-schemas:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: .go-version
- name: Install OpenTofu
uses: opentofu/setup-opentofu@v1
with:
tofu_wrapper: false
tofu_version: 1.8.0
- name: Generate provider schemas
run: |
go generate ./internal/schemas
Expand Down

0 comments on commit 0c940c3

Please sign in to comment.