From 7ab1ec7e1743bd0d8e9f1e10925847d2301aed19 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Mon, 10 Nov 2025 12:30:14 -0700 Subject: [PATCH 1/2] fix: maven url used for publishing --- pom.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 29be8fc..8d3c847 100644 --- a/pom.xml +++ b/pom.xml @@ -71,11 +71,11 @@ ossrh - https://oss.sonatype.org/content/repositories/snapshots + https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2 + https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2 @@ -186,14 +186,15 @@ 8 + org.sonatype.plugins nexus-staging-maven-plugin - 1.6.13 + 1.7.0 true ossrh - https://oss.sonatype.org/ + https://ossrh-staging-api.central.sonatype.com/ true From 67b4ae5c2bbd7e51488d0bbca7b5c970fa904415 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Mon, 10 Nov 2025 12:54:35 -0700 Subject: [PATCH 2/2] fix: lint action --- .github/workflows/ci.yml | 41 +++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 205aef8..50a4b63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,13 @@ jobs: matrix: java_version: [ "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23" ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up JDK for compilation - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: "zulu" - java-version: "23" # Always use the latest JDK for building + java-version: "21" # Always use the most recent LTS JDK for building + cache: "maven" - name: Load Maven dependencies cache uses: actions/cache@v3 with: @@ -31,21 +32,23 @@ jobs: - name: Compile run: make build - name: Set up Java ${{ matrix.java_version }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: distribution: "zulu" java-version: ${{ matrix.java_version }} + cache: "maven" - name: Run test with Java ${{ matrix.java_version }} run: make test coverage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up JDK for compilation - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: "zulu" - java-version: "23" # Always use the latest JDK for building + java-version: "21" # Always use the most recent LTS JDK for building + cache: "maven" - name: Install dependencies run: make install - name: Test coverage @@ -68,18 +71,18 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Set up JDK for compilation - uses: actions/setup-java@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-java@v5 with: distribution: "zulu" - java-version: "23" # Always use the latest JDK for building - - name: Install dependencies - run: make install - - name: Run CheckStyle checks - uses: nikitasavinov/checkstyle-action@0.5.1 + java-version: "21" # Always use the most recent LTS JDK for building + cache: "maven" + - name: Install checkstyle and style guide + run: make install-checkstyle + - name: Lint + run: make lint + - name: Upload Test results + uses: actions/upload-artifact@master with: - level: error - fail_on_error: true - checkstyle_config: easypost_java_style.xml - tool_name: "style_enforcer" + name: DependencyCheck report + path: ${{github.workspace}}/target/dependency-check-report.html