Bump hashicorp/azurerm from 4.11.0 to 4.12.0 in /code/infra #313
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint and Test | |
runs-on: [ubuntu-latest] | |
continue-on-error: false | |
steps: | |
# Setup Python 3.11 | |
- name: Setup Python 3.11 | |
id: python_setup | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
# Setup Terraform | |
- name: Setup Terraform | |
id: terraform_setup | |
uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: "1.9.6" | |
terraform_wrapper: true | |
# Checkout repository | |
- name: Check Out Repository | |
id: checkout_repository | |
uses: actions/checkout@v4 | |
# Run Linting | |
- name: Run Linting | |
id: linting | |
run: | | |
echo "Install dependencies" | |
python3 -m pip install -r requirements.txt -q | |
echo "Initialize Git" | |
git init | |
git add * | |
echo "Run pre-commit" | |
python3 -m pre_commit install --install-hooks | |
python3 -m pre_commit run --all-files --verbose |