Skip to content

Bump log4j.version from 2.17.2 to 2.23.1 #35

Bump log4j.version from 2.17.2 to 2.23.1

Bump log4j.version from 2.17.2 to 2.23.1 #35

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: build-jdk-${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
matrix:
version: [17, 21]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.version }}
- name: Cache m2 repo
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-${{ matrix.version }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-${{ matrix.version }}-maven-
- name: Build
run: mvn --batch-mode install
- name: Run spotbugs check
run: mvn spotbugs:check