Skip to content

Fixed publish.yml permissions #10

Fixed publish.yml permissions

Fixed publish.yml permissions #10

Workflow file for this run

name: Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
workflow_call:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
cache-dependency-path: |
requirements*.txt
pyproject.toml
- name: Install Ruff
run: pip install ruff
- name: Check formatting
run: ruff format . --check
- name: Check style
run: ruff check .