diff --git a/.github/workflows/integration_external_target.yml b/.github/workflows/integration_external_target.yml index 632b2d5..1a6bbbb 100644 --- a/.github/workflows/integration_external_target.yml +++ b/.github/workflows/integration_external_target.yml @@ -5,8 +5,6 @@ on: branches: [ master ] pull_request: branches: [ master ] - schedule: - - cron: "0 */12 * * *" jobs: build: diff --git a/.github/workflows/integration_gazelle.yml b/.github/workflows/integration_gazelle.yml new file mode 100644 index 0000000..7fc7b65 --- /dev/null +++ b/.github/workflows/integration_gazelle.yml @@ -0,0 +1,28 @@ +name: Integration External Target + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Setup Java JDK + uses: actions/setup-java@v1.4.3 + with: + java-version: 1.8 + id: java + - uses: actions/checkout@v2 + with: + repository: mikberg/bazel-diff-problem + ref: master + fetch-depth: 0 + - name: Run External Target Impact test + run: ./bazel-diff.sh $(pwd) bazel $(git rev-parse HEAD~1) $(git rev-parse HEAD) + - name: Validate Impacted Targets + run: "[ -s /tmp/impacted_targets.txt ] && exit 1 || exit 0" +