Skip to content

Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.282 (#230) #234

Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.282 (#230)

Update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.282 (#230) #234

Workflow file for this run

---
name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@master
- name: Run yamllint
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: "./"
config_file: "./.yaml-lint.yaml"
strict: true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Lint with ruff
run: |
ruff check --format=github .