Skip to content

chore(deps): bump actions/setup-java from 4 to 5 #98

chore(deps): bump actions/setup-java from 4 to 5

chore(deps): bump actions/setup-java from 4 to 5 #98

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
# © Crown Copyright 2025. This work has been developed by the National Digital Twin Programme and is legally attributed to the Department for Business and Trade (UK) as the governing entity.
name: CI on PR
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
MAVEN_CLI_OPTS: "--batch-mode --no-transfer-progress"
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build and Test
run: ./mvnw $MAVEN_CLI_OPTS verify -Panalyse
lint:
runs-on: ubuntu-latest
env:
MAVEN_CLI_OPTS: "--batch-mode --no-transfer-progress"
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Lint
run: ./mvnw $MAVEN_CLI_OPTS spotless:check