Skip to content

Merge pull request #55 from UCL-ARC/renovate/pre-commit-pre-commit-ho… #156

Merge pull request #55 from UCL-ARC/renovate/pre-commit-pre-commit-ho…

Merge pull request #55 from UCL-ARC/renovate/pre-commit-pre-commit-ho… #156

Workflow file for this run

---
name: Lint
on:
pull_request:
push:
branches:
- "main"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: "3.11"
- name: Setup Terraform
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
with:
# renovate: datasource=github-tags depName=hashicorp/terraform versioning=loose
terraform_version: 1.9.8
- name: Run pre-commit
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
with:
extra_args: --all-files