Skip to content

[WIP] Migrating to GitHub actions #9

[WIP] Migrating to GitHub actions

[WIP] Migrating to GitHub actions #9

name: auth0/auth0-java/build-and-test
on:
pull_request:
merge_group:
push:
branches: ["master", "main", "v1"]
jobs:
gradle:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: '<distribution>'
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
arguments: assemble
- uses: gradle/gradle-build-action@v2
with:
arguments: check jacocoTestReport --continue --console=plain
- uses: codecov/codecov-action@v3
with:
flags: unittests