Skip to content

Merge pull request #20 from Netzwerkfehler/dependabot/github_actions/… #41

Merge pull request #20 from Netzwerkfehler/dependabot/github_actions/…

Merge pull request #20 from Netzwerkfehler/dependabot/github_actions/… #41

Workflow file for this run

name: "Lint"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
ruff:
name: "Ruff"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/checkout@v4.2.0"
- name: "Set up Python"
uses: actions/setup-python@v5.3.0
with:
python-version: "3.12"
cache: "pip"
- name: "Install requirements"
run: python3 -m pip install -r requirements.txt
- name: "Lint"
run: python3 -m ruff check .
- name: "Format"
run: python3 -m ruff format . --check