Skip to content

Bump ruff from 0.5.7 to 0.8.6 #26

Bump ruff from 0.5.7 to 0.8.6

Bump ruff from 0.5.7 to 0.8.6 #26

Workflow file for this run

name: CI
on:
push:
branches: master
pull_request:
branches: master
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Setup Poetry
run: |
curl -sSL https://install.python-poetry.org | python -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential libcairo2-dev libgirepository1.0-dev
poetry install
- name: Check code formatting
run: poetry run ruff format --check .
- name: Check for code errors
run: poetry run ruff check .