Skip to content

Commit

Permalink
install env
Browse files Browse the repository at this point in the history
  • Loading branch information
GomathiselviS committed Feb 21, 2024
1 parent 18ec5fb commit 1e22a0a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/generate_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v2
- name: Setup Go ${{ env.go_version }}
uses: actions/setup-go@v4
with:
go-version: 1.x
go-version: ${{ env.go_version }}

- name: Install tfplugindocs
run: go get github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@latest
- name: Install dependencies
run: go get .

- name: Build
run: go build -v ./...

- name: Generate documentation
run: make generatedocs

0 comments on commit 1e22a0a

Please sign in to comment.