Skip to content

Bump github/codeql-action from 2 to 3 #485

Bump github/codeql-action from 2 to 3

Bump github/codeql-action from 2 to 3 #485

Workflow file for this run

name: Java CI
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: Java ${{ matrix.java }}
strategy:
matrix:
java: [11, 17]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Log github.ref
run: echo "${{ github.ref }}"
- name: Build with Maven
run: mvn -B -V clean install --batch-mode --show-version