Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Merge branch 'main' of github.com:Mouwrice/DrumPy #171

Merge branch 'main' of github.com:Mouwrice/DrumPy

Merge branch 'main' of github.com:Mouwrice/DrumPy #171

Workflow file for this run

name: Ruff
on:
push:
branches: [ main ]
pull_request:
jobs:
ruff:
runs-on: ubuntu-latest
name: Ruff
steps:
- name: Check-out repository
uses: actions/checkout@v4.1.6
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Export dependencies
run: poetry export -f requirements.txt --output requirements.txt --without-hashes
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: |
**/requirements*.txt
- name: Install Dependencies
run: |
pip install -r requirements.txt
- uses: chartboost/ruff-action@v1
name: Ruff Lint
- uses: chartboost/ruff-action@v1
name: Ruff Format Check
with:
args: 'format --check'