Skip to content

terraform provider updates #363

terraform provider updates

terraform provider updates #363

Workflow file for this run

name: Linting
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ${{ matrix.image }}
strategy:
matrix:
os:
- Ubuntu
python-version:
- "3.10"
- "3.11"
- "3.12"
include:
- os: Ubuntu
image: Ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up python {{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install poetry
uses: snok/install-poetry@v1
- name: Install project
run: poetry install --extras azure
- name: ruff
run: poetry run ruff .
- name: ruff format
run: poetry run ruff format --check .
- name: mypy
run: poetry run mypy .