diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 660cce0..cebed07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,4 +7,4 @@ on: jobs: ci: - uses: killbill/gh-actions-shared/.github/workflows/ci.yml@main + uses: killbill/gh-actions-shared/.github/workflows/ci.yml@java21 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c150684..b8add17 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -7,4 +7,4 @@ on: jobs: analyze: - uses: killbill/gh-actions-shared/.github/workflows/codeql-analysis.yml@main + uses: killbill/gh-actions-shared/.github/workflows/codeql-analysis.yml@java21 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd21ecf..3b61be9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,11 +27,11 @@ jobs: steps: - name: Checkout code if: github.event.inputs.perform_version == '' - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: Checkout full repository # Required when performing an existing release. if: github.event.inputs.perform_version != '' - uses: actions/checkout@v2 + uses: actions/checkout@v6 with: fetch-depth: '0' - name: Setup git user @@ -43,9 +43,10 @@ jobs: git config --global user.name "Kill Bill core team" git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "git@github.com:" - name: Configure Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v5 with: - java-version: 11 + java-version: 21 + distribution: temurin - name: Download Java dependencies # We do as much as we can, but it may not be enough (https://issues.apache.org/jira/browse/MDEP-82) run: | @@ -64,9 +65,9 @@ jobs: # Will be pushed as part of the release process, only if the release is successful git commit -m "pom.xml: update killbill-oss-parent to ${{ github.event.inputs.parent_version }}" - name: Configure settings.xml for release - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: - java-version: 11 + java-version: 21 distribution: temurin server-id: central server-username: MAVEN_USERNAME diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index ad45d25..cd51d66 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -6,7 +6,7 @@ on: jobs: snapshot: - uses: killbill/gh-actions-shared/.github/workflows/snapshot.yml@main + uses: killbill/gh-actions-shared/.github/workflows/snapshot.yml@java21 secrets: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 549a6d1..f044f85 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -7,27 +7,6 @@ on: jobs: sync: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - ref: work-for-release-0.23.x - ssh-key: ${{ secrets.CREATE_PULL_REQUEST_SSH_KEY }} - - name: Setup git user - env: - BUILD_USER: ${{ secrets.BUILD_USER }} - BUILD_TOKEN: ${{ secrets.BUILD_TOKEN }} - run: | - git config --global user.email "contact@killbill.io" - git config --global user.name "Kill Bill core team" - git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "git@github.com:" - - name: Merge master branch - run: | - git merge origin/master - - name: Create Pull Request - uses: peter-evans/create-pull-request@v3 - with: - branch: work-for-release-0.23.x-promotion - title: 'Sync master into work-for-release-0.23.x' - body: 'Merge latest master into work-for-release-0.23.x' + uses: killbill/gh-actions-shared/.github/workflows/sync.yml@java21 + secrets: + CREATE_PULL_REQUEST_SSH_KEY: ${{ secrets.CREATE_PULL_REQUEST_SSH_KEY }} diff --git a/.gitignore b/.gitignore index cd76f07..f3f5399 100644 --- a/.gitignore +++ b/.gitignore @@ -223,3 +223,4 @@ Temporary Items *.tmproj *.tmproject tmtags +/.codex diff --git a/pom.xml b/pom.xml index 90db42c..b37656f 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ org.kill-bill.billing killbill-oss-parent - 0.146.76 + 0.147.5 killbill-client-java 1.4.1-SNAPSHOT diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml index b3dfa74..073a04c 100644 --- a/spotbugs-exclude.xml +++ b/spotbugs-exclude.xml @@ -16,6 +16,21 @@ --> + + + + + + + + + + + + + + +