2024-11-19 10:50:18 +01:00
|
|
|
# TODO:
|
|
|
|
# - [ ] prepare a forgejo ci image with the necessary tools and forgejo user
|
2024-09-27 20:44:22 +02:00
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
|
|
|
- name: setup user and permissions
|
|
|
|
run: |
|
|
|
|
git config --add safe.directory '*'
|
2024-10-01 17:45:38 +02:00
|
|
|
# ignore if the user already exists (like with the playwright image)
|
|
|
|
adduser --quiet --comment forgejo --disabled-password forgejo || true
|
2024-09-27 20:44:22 +02:00
|
|
|
chown -R forgejo:forgejo .
|
2024-11-19 10:50:18 +01:00
|
|
|
|
2024-09-15 02:08:36 +02:00
|
|
|
- uses: https://codeberg.org/fnetx/setup-cache-go@b2214eaf6fb44c7e8512c0f462a2c3ec31f86a73
|
|
|
|
with:
|
|
|
|
username: forgejo
|