Update .github stuff

This commit is contained in:
Joakim Hellsén 2024-12-22 05:05:03 +01:00
commit 9619167d09
No known key found for this signature in database
GPG key ID: D196AE66FEBE1DC9
4 changed files with 29 additions and 2 deletions

View file

@ -7,7 +7,7 @@ on:
schedule:
- cron: "0 0 * * *"
jobs:
build:
docker:
runs-on: ubuntu-latest
permissions:
contents: read

16
.github/workflows/ruff.yml vendored Normal file
View file

@ -0,0 +1,16 @@
name: Ruff
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- run: uv sync --all-extras --dev
- run: uv run pytest -vv