From 17499d7b5d9a3d5571b541035918b62c220974c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20P=2E=20Bezerra?= Date: Sun, 17 Nov 2024 20:36:08 -0300 Subject: [PATCH] CI: tweak: reference reusable workflow locally this allows non-main branches to run their own latest workflows, and helps with forks too --- .github/workflows/all-tests-slow.yml | 2 +- .github/workflows/draft-release-automatic-trigger.yml | 2 +- .github/workflows/pr-workflow.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/all-tests-slow.yml b/.github/workflows/all-tests-slow.yml index 7a5a644c..da08e150 100644 --- a/.github/workflows/all-tests-slow.yml +++ b/.github/workflows/all-tests-slow.yml @@ -11,7 +11,7 @@ on: jobs: run-tests-for-all-combinations: - uses: ouch-org/ouch/.github/workflows/build-artifacts-and-run-tests.yml@main + uses: ./.github/workflows/build-artifacts-and-run-tests.yml with: matrix_all_combinations: true upload_artifacts: false diff --git a/.github/workflows/draft-release-automatic-trigger.yml b/.github/workflows/draft-release-automatic-trigger.yml index 531ccc70..f007f803 100644 --- a/.github/workflows/draft-release-automatic-trigger.yml +++ b/.github/workflows/draft-release-automatic-trigger.yml @@ -7,7 +7,7 @@ on: jobs: call-workflow-build-artifacts-and-run-tests: - uses: ouch-org/ouch/.github/workflows/build-artifacts-and-run-tests.yml@main + uses: ./.github/workflows/build-artifacts-and-run-tests.yml with: matrix_all_combinations: true upload_artifacts: true diff --git a/.github/workflows/pr-workflow.yml b/.github/workflows/pr-workflow.yml index f1d606ee..ec894590 100644 --- a/.github/workflows/pr-workflow.yml +++ b/.github/workflows/pr-workflow.yml @@ -29,7 +29,7 @@ jobs: cargo +stable clippy -- -D warnings build-and-test: - uses: ouch-org/ouch/.github/workflows/build-artifacts-and-run-tests.yml@main + uses: ./.github/workflows/build-artifacts-and-run-tests.yml with: matrix_all_combinations: false upload_artifacts: false