Skip to content

chore(main): release 3.1.1 (#17) #25

chore(main): release 3.1.1 (#17)

chore(main): release 3.1.1 (#17) #25

Workflow file for this run

name: code
on:
push:
branches: [main]
pull_request_target:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install Ruff
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run formatter
run: ruff format --check
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install Ruff
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run linter
run: ruff check