Files
spaetzle/.github/workflows/.ruff.yaml
T
2025-07-13 16:27:56 +02:00

32 lines
595 B
YAML

name: Build and Push Docker Image
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Ruff
run: |
pip install ruff
ruff format --check
ruff check