name: Run Gradle on push and pull request
on: 
  - push
  - pull_request
jobs:
  gradle:
    strategy:
      matrix:
        java-version: [ 16 ]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-java@v1
        with:
          java-version: ${{ matrix.java-version}}
      - uses: eskatos/gradle-command-action@v1
        with:
          arguments: check


name: Run Gradle on push and pull request
on: 
  - push
  - pull_request
jobs:
  gradle:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-java@v1
        with:
          java-version: 16
      - uses: eskatos/gradle-command-action@v1
        with:
          arguments: check


Remove the matrix from github's workflow
Remove the matrix from github's workflow
