Skip to content

Move to AL2023

Move to AL2023 #71

Workflow file for this run

---
name: pre-commit
on:
pull_request:
branches:
- "main"
push:
branches:
- "main"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Setup prerequisites"
# yamllint disable rule:line-length
run: |
curl -s -L https://github.com/terraform-docs/terraform-docs/releases/download/v0.17.0/terraform-docs-v0.17.0-linux-amd64.tar.gz | tar xz -C /usr/local/bin terraform-docs
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
# yamllint enable rule:line-length
- uses: actions/setup-python@v3
with:
cache: "pip"
- uses: pre-commit/[email protected]
with:
extra_args: "--hook-stage manual --all-files"