Skip to content

Bump com.tngtech.archunit:archunit-junit5-engine from 1.4.1 to 1.4.2 #65

Bump com.tngtech.archunit:archunit-junit5-engine from 1.4.1 to 1.4.2

Bump com.tngtech.archunit:archunit-junit5-engine from 1.4.1 to 1.4.2 #65

Workflow file for this run

name: ci
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- '**.yml'
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
java: [ '8', '11', '17', '21', '25', '26-ea' ]
architecture: [ 'x64' ]
name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }}
steps:
- uses: actions/checkout@v6
- name: Setup JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
cache: 'maven'
- name: Build with Maven
run: mvn package
- name: Verify class file versions
uses: pivovarit/verify-jar-action@v1.4.0
with:
java-version: '8'
verify-javadoc:
runs-on: ubuntu-latest
name: Validate JavaDocs
steps:
- uses: actions/checkout@v6
- name: Setup JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '24'
architecture: 'x64'
cache: 'maven'
- name: Validate JavaDocs
run: mvn -Pdoclint package -DskipTests=true
deploy-snapshot:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v6
- name: Setup JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'
server-id: central
server-username: CENTRAL_USERNAME
server-password: CENTRAL_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
- name: Read project version
id: version
run: |
VERSION="$(mvn -q -DforceStdout help:evaluate -Dexpression=project.version)"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
- name: Deploy Snapshot
if: endsWith(steps.version.outputs.version, '-SNAPSHOT')
run: mvn -B --no-transfer-progress -Psonatype-oss-release -DskipTests=true deploy
env:
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
CENTRAL_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}