Make Gitea checks self-contained

This commit is contained in:
mpabi
2026-07-15 08:45:39 +02:00
parent 65299458ed
commit fdde24a0aa
2 changed files with 15 additions and 6 deletions
+8 -5
View File
@@ -10,10 +10,13 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout without an external action
run: |
set -eu
git init .
git remote add origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git"
git fetch --depth=1 origin "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- name: Check schemas and render example
run: |
python3 -m pip install -r requirements-dev.txt
CARD_LAYOUTS_REQUIRE_JSONSCHEMA=1 python3 scripts/check_repository.py
run: python3 scripts/check_repository.py