1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-11 11:28:02 -05:00
forgejo/.forgejo/workflows/composite/setup-env/action.yaml

12 lines
340 B
YAML
Raw Normal View History

2024-09-27 14:44:22 -04:00
runs:
using: "composite"
steps:
- uses: https://code.forgejo.org/actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: setup user and permissions
run: |
git config --add safe.directory '*'
adduser --quiet --comment forgejo --disabled-password forgejo
chown -R forgejo:forgejo .