From 8bf5b2c8027a87b77c138f59c260fb6cd7b228aa Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 11 Nov 2024 08:30:01 +0100 Subject: [PATCH] actions: run echo and compression tests first --- actions/actions.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/actions/actions.sh b/actions/actions.sh index 246f725..e248f7f 100755 --- a/actions/actions.sh +++ b/actions/actions.sh @@ -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