Skip to content

chore(deps-dev): bump ruff from 0.12.11 to 0.12.12 #633

chore(deps-dev): bump ruff from 0.12.11 to 0.12.12

chore(deps-dev): bump ruff from 0.12.11 to 0.12.12 #633

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 0 * * 0"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install tox
- name: Run Tox
run: python -m tox -f py$(python --version 2>&1 | awk '{split($2, a, "."); print a[1]a[2]}')
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install poetry
run: pipx install poetry
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: Run ruff check
run: poetry run ruff check .
- name: Run ruff format
run: poetry run ruff format --check .
gitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install gitlint
run: pip install gitlint
- name: Run gitlint
run: gitlint --contrib contrib-title-conventional-commits --ignore B1,B5,B6