From 580b8276f37d9f99893c8c747f5b500357b8f0da Mon Sep 17 00:00:00 2001 From: Alex Ruiz Date: Thu, 7 Nov 2024 22:11:15 +0100 Subject: [PATCH 1/2] Format files --- .github/workflows/{build_on_push.yml => ci.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{build_on_push.yml => ci.yml} (100%) diff --git a/.github/workflows/build_on_push.yml b/.github/workflows/ci.yml similarity index 100% rename from .github/workflows/build_on_push.yml rename to .github/workflows/ci.yml From 7109d54ccdf160f47d07eacf3efe43a1f103574f Mon Sep 17 00:00:00 2001 From: Alex Ruiz Date: Thu, 7 Nov 2024 22:12:55 +0100 Subject: [PATCH 2/2] Update CI workflow --- .github/workflows/ci.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc278450..04d0347b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,12 +3,18 @@ name: Build packages (on push) # This workflow runs when any of the following occur: # - On push to branches named after ci/* on: - push: - # Sequence of patterns matched against refs/heads - branches: - - "ci/*" + pull_request: + # Sequence of patterns matched against refs/heads + branches: + - "migrate-*" + - "ci/*" jobs: - call-build-workflow: - uses: ./.github/workflows/build.yml - secrets: inherit \ No newline at end of file + call-test-workflow: + runs-on: ubuntu-22.04 + steps: + - run: | + ./gradlew check + call-build-workflow: + uses: ./.github/workflows/build.yml + secrets: inherit