Skip to content

Commit 5356f7f

Browse files
Codelaxremyleone
andauthored
ci: add tfproviderdocs job (#2335)
Co-authored-by: Rémy Léone <[email protected]>
1 parent ad8a755 commit 5356f7f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/tfproviderlint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,13 @@ jobs:
1717
run: go install github.com/Codelax/tfproviderlint/cmd/tfproviderlint@9a212663f6cab5b28933496a85d7f7168d82360f
1818
- name: Run tfproviderlint
1919
run: tfproviderlint ./...
20+
tfproviderdocs:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v3
24+
- uses: actions/setup-go@v2
25+
with:
26+
go-version: 1.21
27+
- uses: hashicorp/setup-terraform@v3
28+
- run: go install github.com/bflad/tfproviderdocs@latest
29+
- run: tfproviderdocs check -provider-name scaleway -enable-contents-check

0 commit comments

Comments
 (0)