Ohne sudo — im Runner laeuft alles als root
Some checks failed
CI / Lint, Typen, Tests, Build (push) Successful in 10m54s
CI / Migrationen auf leerer Datenbank (push) Failing after 5m24s

Das Abbild des Gitea-Runners ist schlanker als das von GitHub und
bringt kein sudo mit. Es braucht auch keins: der Schritt laeuft
ohnehin als root.
This commit is contained in:
2026-09-07 10:23:20 +00:00
parent 17c7badd16
commit a2f2f7075e

View File

@@ -83,8 +83,8 @@ jobs:
# "psql: command not found" ab, bevor die erste Datei laeuft.
- name: psql bereitstellen
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq --no-install-recommends postgresql-client
apt-get update -qq
apt-get install -y -qq --no-install-recommends postgresql-client
psql --version
# Was das Schema von der Umgebung erwartet: die Anwendungsrolle ohne