diff --git a/.forgejo/workflows/integration.yml b/.forgejo/workflows/integration.yml index 67c6847..bf7b502 100644 --- a/.forgejo/workflows/integration.yml +++ b/.forgejo/workflows/integration.yml @@ -12,3 +12,4 @@ jobs: ./forgejo-runner.sh setup # testdata/run.sh workflow http://root:admin1234@$(cat forgejo-ip):3000 root demo testdata/run.sh push_self http://root:admin1234@$(cat forgejo-ip):3000 root + testdata/run.sh workflow http://root:admin1234@$(cat forgejo-ip):3000 root try-setup-forgejo diff --git a/testdata/run.sh b/testdata/run.sh index c3fb5eb..21090ed 100755 --- a/testdata/run.sh +++ b/testdata/run.sh @@ -83,6 +83,8 @@ function push_self() { git config user.name username git commit -m 'avoid workflow infinite recursion' git push --force origin fortesting:main + git tag --force vTest HEAD + git push --force origin vTest ) } diff --git a/testdata/setup-forgejo.yml b/testdata/try-setup-forgejo.yml similarity index 81% rename from testdata/setup-forgejo.yml rename to testdata/try-setup-forgejo.yml index b81ca82..edf3183 100644 --- a/testdata/setup-forgejo.yml +++ b/testdata/try-setup-forgejo.yml @@ -6,4 +6,4 @@ jobs: runs-on: self-hosted steps: - uses: actions/checkout@v3 - - uses: SELF/setup-forgejo@v1 + - uses: SELF/setup-forgejo@vTest