build(deps): bump net.bytebuddy:byte-buddy from 1.18.3 to 1.18.11 #546
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches-ignore: | |
| - gh-pages | |
| - release-please--branches--* | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| issues: write | |
| env: | |
| IS_DEPENDABOT: ${{ startsWith(github.ref_name, 'dependabot/') && 'yes' || '' }} | |
| jobs: | |
| build: | |
| if: ${{ ! (startsWith(github.event.head_commit.message, 'chore:') || startsWith(github.event.head_commit.message, 'docs')) }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| - name: Cache SonarCloud packages | |
| if: ${{ !env.IS_DEPENDABOT }} | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.sonar/cache | |
| key: ${{ runner.os }}-sonar | |
| restore-keys: ${{ runner.os }}-sonar | |
| - name: Run Gradle checks | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| run: ./gradlew ${{ env.IS_DEPENDABOT && 'check' || 'check sonar' }} --stacktrace | |
| - name: Upload test reports | |
| if: ${{ !cancelled() }} | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: reports | |
| path: '**/build/reports/**/*' | |
| - name: Upload coverage reports to Codecov | |
| if: ${{ !env.IS_DEPENDABOT }} | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: boolivar/jdoc-test | |
| - name: Release please | |
| id: release | |
| if: ${{ github.ref_name == 'master' || startsWith(github.ref_name, 'release/') }} | |
| uses: googleapis/release-please-action@v4.4.0 | |
| with: | |
| token: ${{ secrets.RELEASE_PLEASE_TOKEN }} | |
| target-branch: ${{ github.ref_name }} | |
| - name: Publish | |
| if: ${{ steps.release.outputs.release_created }} | |
| env: | |
| RELEASE_VERSION: ${{ steps.release.outputs.tag_name }} | |
| GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }} | |
| GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }} | |
| ORG_GRADLE_PROJECT_sonatypeSigningKey: ${{ secrets.GPG_KEY }} | |
| ORG_GRADLE_PROJECT_sonatypeSigningSecret: ${{ secrets.GPG_SECRET }} | |
| ORG_GRADLE_PROJECT_sonatypeMavenCentralUser: ${{ secrets.SONATYPE_USER }} | |
| ORG_GRADLE_PROJECT_sonatypeMavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }} | |
| run: ./gradlew -Prelease.forceVersion=$RELEASE_VERSION createRelease && ./gradlew -x check -PmavenCentralAutoPublish=true publishToSonatype publishPlugins |