Use Gitea for workflows; remove SECURITY.md
All checks were successful
Ruff / ruff (push) Successful in 9s

This commit is contained in:
2025-05-01 17:28:35 +02:00
parent b1bd57bcc2
commit 14f2cdc9f9
2 changed files with 0 additions and 11 deletions

37
.gitea/workflows/ruff.yml Normal file
View File

@ -0,0 +1,37 @@
name: Ruff
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
env:
DJANGO_SECRET_KEY: "abc123"
DEBUG: "True"
jobs:
ruff:
runs-on: ubuntu-latest
steps:
# Download the source code
- uses: actions/checkout@v4
# https://docs.astral.sh/uv/
- name: Install uv
uses: astral-sh/setup-uv@v5
# Set up our GitHub Actions workflow with the Python version specified in the .python-version file
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
# Install dependencies
- name: "Install dependencies"
run: uv sync --all-extras --dev
# Run tests
- name: Run tests
run: uv run pytest -vv