Skip to content

build(java): bump com.nimbusds:nimbus-jose-jwt from 9.48 to 10.0.1 #227

build(java): bump com.nimbusds:nimbus-jose-jwt from 9.48 to 10.0.1

build(java): bump com.nimbusds:nimbus-jose-jwt from 9.48 to 10.0.1 #227

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Lint commit message(s)
run: |
yarn add @commitlint/cli
yarn add @commitlint/config-conventional
yarn run commitlint --from HEAD~${{ github.event.pull_request.commits }}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- uses: gradle/actions/setup-gradle@v4
- name: Test
run: ./gradlew check jacocoTestReport
- uses: codecov/codecov-action@v5
if: always() # always run even if the previous step fails
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/jacoco/test/jacocoTestReport.xml
release:
if: github.event_name == 'push'
needs: test
outputs:
next-release-version: ${{ steps.semantic-release.outputs.next-release-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
- id: semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn add semantic-release
yarn add @semantic-release/exec
yarn run semantic-release
publish:
if: needs.release.outputs.next-release-version != ''
needs: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
with:
config-inline: |
[worker.oci]
max-parallelism = 1
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: |
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/${{ github.repository }}:latest -t ghcr.io/${{ github.repository }}:${{ needs.release.outputs.next-release-version }} --push .