Skip to content

Commit

Permalink
Install terraform docs in workflow (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
yilmi authored Jun 26, 2024
1 parent f95b85f commit 3cb0fff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
- uses: actions/setup-python@v3
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- run: go install github.com/terraform-docs/[email protected]
- run: python -m pip install pre-commit
- run: pre-commit run --all-files --show-diff-on-failure --color=always
shell: bash

0 comments on commit 3cb0fff

Please sign in to comment.