This is an automated email from the ASF dual-hosted git repository. kbowers pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-benchmarks.git
commit ff5e9817364828e006781bd94c8fb6a79993dc20 Author: Marián Macik <[email protected]> AuthorDate: Tue Jun 22 16:22:20 2021 +0200 BAQE-1918 - Add GitHub Actions PR check --- .github/workflows/pull_request.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..2be199e --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,32 @@ +name: PR Check + +on: + push: + branches: + - main + + pull_request: + branches: + - main + +jobs: + pr-check: + name: Java 11 Compilation + runs-on: ubuntu-latest + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v2 + with: + java-version: 11 + distribution: adopt + # See https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven#caching-dependencies + - name: Cache Maven packages + uses: actions/cache@v2 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + - name: Maven Build using Java + run: mvn -B --fail-at-end clean install -DskipTests -Dvalidate-formatting \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
