Skip to content

First Commit

First Commit #23

Workflow file for this run

name: "Lint"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
ruff:
name: "Ruff"
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
python-version: [ 3.11 ]
poetry-version: [ 1.7.1 ]
os: [ ubuntu-latest ]
steps:
- name: "Checkout the repository"
uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install the project dependencies
run: poetry install
- name: "Run Ruff Lint"
run: poetry run ruff check .