Skip to content

GitHub CI actions

GitHub CI actions #5

Workflow file for this run

---
name: Maven Build
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
maven-build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
java: [17, 21]
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: Build it with Maven
run: |
cd mvn-resolver-transport-http3
mvn -B verify
xcop-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: g4s8/xcop-action@master