fix: actions: refactor force-rebuild tests to use a remote action (#991)

The local actions are always rebuilt with a random tag and cannot be used to verify the force_rebuild setting is working.

Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/991
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-09-01 17:14:24 +00:00 committed by earl-warren
parent ecff9c4c70
commit d29439c5f7
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
10 changed files with 50 additions and 34 deletions

View file

@ -133,7 +133,7 @@ function test_actions() {
done
fi
if dpkg --compare-versions $runner_version gt 6.0.1; then
if dpkg --compare-versions $runner_version gt 10.0.0; then
run actions_verify_example force-rebuild
fi