name: XTF CI - Pull Reqeust check

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:

  test:
    name: Build and CheckStyle
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
      - name: Set up JDK 8
        uses: actions/setup-java@v1
        with:
          java-version: 8
          java-package: jdk
          architecture: x64
      - name: Check well-formatted code
        run: mvn -B formatter:validate impsort:check
      - name: Maven Package
        run: mvn install -B -DskipTests=true -Dmaven.javadoc.skip=true -B -V
      - name: Maven Verify
        run: mvn -B clean verify

name: XTF CI - Pull Request check

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:

  test:
    name: Build and CheckStyle
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
      - name: Set up JDK 8
        uses: actions/setup-java@v1
        with:
          java-version: 8
          java-package: jdk
          architecture: x64
      - name: Check well-formatted code
        run: mvn -B formatter:validate impsort:check
      - name: Maven Package
        run: mvn install -B -DskipTests=true -Dmaven.javadoc.skip=true -B -V
      - name: Maven Verify
        run: mvn -B clean verify

Fix a typo in the name of the PR check job.
[ci] Fix a typo in the name of the PR check job.
