diff --git a/.github/workflows/build_on_push.yml b/.github/workflows/build_on_push.yml deleted file mode 100644 index bc278450..00000000 --- a/.github/workflows/build_on_push.yml +++ /dev/null @@ -1,14 +0,0 @@ -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/*" - -jobs: - call-build-workflow: - uses: ./.github/workflows/build.yml - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..04d0347b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: Build packages (on push) + +# This workflow runs when any of the following occur: +# - On push to branches named after ci/* +on: + pull_request: + # Sequence of patterns matched against refs/heads + branches: + - "migrate-*" + - "ci/*" + +jobs: + call-test-workflow: + runs-on: ubuntu-22.04 + steps: + - run: | + ./gradlew check + call-build-workflow: + uses: ./.github/workflows/build.yml + secrets: inherit