From 11c60ac596b5617aa22bd16e002b8a5d770b1ec5 Mon Sep 17 00:00:00 2001 From: Jim Anderson Date: Tue, 15 Aug 2023 12:54:43 -0500 Subject: [PATCH 1/4] Use GitHub Actions for CI --- .github/workflows/build-and-test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build-and-test.yml diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml new file mode 100644 index 00000000..59660dd2 --- /dev/null +++ b/.github/workflows/build-and-test.yml @@ -0,0 +1,27 @@ +name: auth0/java-jwt/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: 11 + - 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 From 735ea3cfb1faddd84b591da57399aa8cac16e838 Mon Sep 17 00:00:00 2001 From: Jim Anderson Date: Tue, 15 Aug 2023 21:50:34 -0500 Subject: [PATCH 2/4] fix reports upload --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 59660dd2..f86ed60e 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -24,4 +24,4 @@ jobs: - uses: actions/upload-artifact@v3 with: name: Reports - path: build/reports + path: lib/build/reports From 007bc0f03e853dd8e3cd541bd9a23b86c92fa194 Mon Sep 17 00:00:00 2001 From: Jim Anderson Date: Wed, 16 Aug 2023 22:05:18 -0500 Subject: [PATCH 3/4] add dependabot --- .github/workflows/dependabot.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/dependabot.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 00000000..57ca5dae --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "daily" + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-major"] \ No newline at end of file From c2ecb704d336731fb86202826d3c65b3123e5f84 Mon Sep 17 00:00:00 2001 From: Jim Anderson Date: Wed, 16 Aug 2023 22:09:37 -0500 Subject: [PATCH 4/4] update dependabot --- .github/workflows/dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 57ca5dae..f2839f50 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -5,8 +5,8 @@ updates: schedule: interval: "daily" - - package-ecosystem: "pip" - directory: "/" + - package-ecosystem: "gradle" + directory: "lib" schedule: interval: "daily" ignore: