actions: run echo and compression tests first

This commit is contained in:
Earl Warren 2024-11-11 08:30:01 +01:00
parent a51b472fef
commit 8bf5b2c802
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -111,12 +111,6 @@ function test_actions() {
log_info "Testing actions with Forgejo $version & Forgejo runner $runner_version"
if dpkg --compare-versions $version ge 7.0 && dpkg --compare-versions $runner_version gt 3.3.0; then
for example in artifacts-v4; do
run actions_verify_example $example
done
fi
run actions_verify_example echo
if dpkg --compare-versions $version ge 9.0; then
# depends on run actions_verify_example echo
@ -124,6 +118,12 @@ function test_actions() {
run actions_verify_feature logs-compression
fi
if dpkg --compare-versions $version ge 7.0 && dpkg --compare-versions $runner_version gt 3.3.0; then
for example in artifacts-v4; do
run actions_verify_example $example
done
fi
for example in cache checkout service container expression local-action docker-action if if-fail push tag push-cancel artifacts pull-request context; do
run actions_verify_example $example
done