diff --git a/testdata/sanity-checks/.forgejo/workflows/test.yml b/testdata/sanity-checks/.forgejo/workflows/test.yml index 58a1608..bf72ef0 100644 --- a/testdata/sanity-checks/.forgejo/workflows/test.yml +++ b/testdata/sanity-checks/.forgejo/workflows/test.yml @@ -20,5 +20,9 @@ jobs: set -ex test "${{ steps.forgejo.outputs.token }}" test "FORGEJO_TOKEN" -a "FORGEJO_TOKEN" != F'O'RGEJO_TOKEN - curl ${{ steps.forgejo.outputs.url }}/api/forgejo/v1/version | grep 1.19 + curl ${{ steps.forgejo.outputs.url }}/api/forgejo/v1/version >& version.out + if ! grep --quiet 1.19 version.out ; then + cat version.out + exit 1 + fi test -f ${{ steps.forgejo.outputs.runner-file }}