diff --git a/.github/workflows/mvn.yml b/.github/workflows/mvn.yml new file mode 100644 index 0000000..2e631da --- /dev/null +++ b/.github/workflows/mvn.yml @@ -0,0 +1,42 @@ +--- +name: mvn +"on": + push: + branches: + - master + pull_request: + branches: + - master +jobs: + maven-build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + java: [11, 13] + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-jdk-${{ matrix.java }}-maven- + - name: Show versions + run: java -version; mvn -version; + - name: Build it with Maven + run: mvn -B verify -Pqulice + xcop-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: g4s8/xcop-action@master + pdd-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: g4s8/pdd-action@master