Skip to content

ci(github-action)!: Update actions/setup-java action (v4.9.1 → v6.0.1) #418

ci(github-action)!: Update actions/setup-java action (v4.9.1 → v6.0.1)

ci(github-action)!: Update actions/setup-java action (v4.9.1 → v6.0.1) #418

Workflow file for this run

name: Maven Test
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- name: Set up JDK 21
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6
with:
java-version: '21'
distribution: 'temurin'
- name: Cache Maven dependencies
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run tests
run: mvn clean test