Skip to content

Commit

Permalink
[SDK-4388] Use GitHub Actions (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames authored Aug 17, 2023
1 parent f41662f commit bc7ad2b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: auth0/auth0-java/build-and-test

on:
pull_request:
merge_group:
push:
branches: ["master", "main", "v1"]

jobs:
gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
- uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c
with:
arguments: assemble apiDiff check jacocoTestReport --continue --console=plain
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
with:
flags: unittests
- uses: actions/upload-artifact@v3
with:
name: Reports
path: build/reports
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ oss {
repository 'auth0-java'
organization 'auth0'
description 'Java client library for the Auth0 platform.'
baselineCompareVersion '1.27.0'
baselineCompareVersion '2.0.0'
testInJavaVersions = [8, 11, 17]

developers {
Expand Down

0 comments on commit bc7ad2b

Please sign in to comment.