diff options
author | Michael Kriese <michael.kriese@visualon.de> | 2024-11-12 11:48:32 +0100 |
---|---|---|
committer | Michael Kriese <michael.kriese@visualon.de> | 2024-11-12 11:48:32 +0100 |
commit | 4ddd8a4ce8f03424c09789b57db9ce623f2edab5 (patch) | |
tree | 768f912c3fff45b75584bee80c94ef04cf616661 /.forgejo | |
parent | Merge pull request 'Update actions/setup-go action to v5' (#324) from renovat... (diff) | |
download | forgejo-runner-4ddd8a4ce8f03424c09789b57db9ce623f2edab5.tar.xz forgejo-runner-4ddd8a4ce8f03424c09789b57db9ce623f2edab5.zip |
ci: use `go-version-file`
Diffstat (limited to '.forgejo')
-rw-r--r-- | .forgejo/workflows/test.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 1864e57..19d79b7 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -11,7 +11,7 @@ env: FORGEJO_ADMIN_PASSWORD: 'admin1234' FORGEJO_RUNNER_SECRET: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' FORGEJO_SCRIPT: | - /bin/s6-svscan /etc/s6 & sleep 10 ; su -c "forgejo admin user create --admin --username $FORGEJO_ADMIN_USER --password $FORGEJO_ADMIN_PASSWORD --email root@example.com" git && su -c "forgejo forgejo-cli actions register --labels docker --name therunner --secret $FORGEJO_RUNNER_SECRET" git && sleep infinity + /bin/s6-svscan /etc/s6 & sleep 10 ; su -c "forgejo admin user create --admin --username $FORGEJO_ADMIN_USER --password $FORGEJO_ADMIN_PASSWORD --email root@example.com" git && su -c "forgejo forgejo-cli actions register --labels docker --name therunner --secret $FORGEJO_RUNNER_SECRET" git && sleep infinity GOPROXY: https://goproxy.io,direct jobs: @@ -36,11 +36,11 @@ jobs: - ${{ env.FORGEJO_SCRIPT }} steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: '1.21' - - - uses: actions/checkout@v4 + go-version-file: go.mod - run: make vet |