Skip to content

chore(rye): bump pre-commit from 3.7.1 to 3.8.0 #74

chore(rye): bump pre-commit from 3.7.1 to 3.8.0

chore(rye): bump pre-commit from 3.7.1 to 3.8.0 #74

Workflow file for this run

name: Ruff
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }} with Rye
uses: ./.github/actions/setup-python-with-rye
with:
python-version: ${{ matrix.python-version }}
- name: Lint
run: rye run ruff check --output-format=github .
format:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }} with Rye
uses: ./.github/actions/setup-python-with-rye
with:
python-version: ${{ matrix.python-version }}
- name: Format
run: rye run ruff format . --check --diff