Skip to content

Commit

Permalink
ci: Fix pre-commit action - install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
memes committed Sep 13, 2024
1 parent c3d7bb7 commit 512ad4f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,23 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install talisman
# yamllint disable rule:line-length
run: |
sudo curl -sLo /usr/local/bin/talisman https://github.com/thoughtworks/talisman/releases/download/v1.32.0/talisman_linux_amd64
sudo chmod 0755 /usr/local/bin/talisman
# yamllint enable rule:line-length
- name: Install terraform-docs
# yamllint disable rule:line-length
run: |
sudo sh -c 'curl -sL https://github.com/terraform-docs/terraform-docs/releases/download/v0.18.0/terraform-docs-v0.18.0-linux-amd64.tar.gz | tar xzf - -C /usr/local/bin'
sudo chmod 0755 /usr/local/bin/terraform-docs
# yamllint enable rule:line-length
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: pip
cache-dependency-path: |
requirements*.txt
- name: install ansible collections
run: ansible-galaxy collection install --requirements-file ansible-requirements.yaml
- uses: pre-commit/[email protected]

0 comments on commit 512ad4f

Please sign in to comment.