Skip to content

Bump org.assertj:assertj-core from 3.27.3 to 3.27.4 #147

Bump org.assertj:assertj-core from 3.27.3 to 3.27.4

Bump org.assertj:assertj-core from 3.27.3 to 3.27.4 #147

Workflow file for this run

#
# CI build that assembles artifacts and runs tests.
# If validation is successful this workflow releases from the main dev branch.
#
# - skipping CI: add [skip ci] to the commit message
# - skipping release: add [skip release] to the commit message
#
name: CI
on:
push:
branches: ['main']
tags-ignore: [v*] # release tags are autogenerated after a successful CI, no need to run CI against them
pull_request:
branches: ['**']
env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
jobs:
build:
strategy:
matrix:
java: [ '11', '17', '21' ]
jdk: [ 'temurin' ]
os: [ 'ubuntu-22.04', 'ubuntu-22.04-arm' ]
runs-on: ${{ matrix.os }}
name: Java ${{ matrix.java }} ${{ matrix.os }}
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Gradle wrapper validation
uses: gradle/actions/wrapper-validation@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.jdk }}
cache: 'gradle'
- name: Gradle build
run: ./gradlew build
#
# Release job, only for pushes to the main development branch
#
release:
permissions:
contents: write
runs-on: ubuntu-22.04
needs: [build] # build job must pass before we can release
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Gradle wrapper validation
uses: gradle/actions/wrapper-validation@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
cache: 'gradle'
- name: Release to Sonatype
# Release job, only for pushes to the main branch
if: github.event_name == 'push'
&& github.ref == 'refs/heads/main'
&& github.repository == 'nettyplus/netty-leak-detector-junit-extension'
&& !contains(toJSON(github.event.commits.*.message), '[skip release]')
run: ./gradlew clean build publishAllPublicationsToCentralPortal --stacktrace
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NEXUS_TOKEN_USER: ${{secrets.NEXUS_TOKEN_USER}}
NEXUS_TOKEN_PWD: ${{secrets.NEXUS_TOKEN_PWD}}
PGP_KEY: ${{secrets.PGP_KEY}}
PGP_PWD: ${{secrets.PGP_PWD}}