Skip to content

Update actions/setup-java action to v4 #320

Update actions/setup-java action to v4

Update actions/setup-java action to v4 #320

Workflow file for this run

name: Maven tests
on:
pull_request_target:
branches:
- 'main'
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Set up JDK 17
uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 # v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Run Maven tests
env:
TEST_TOKEN: ${{ secrets.TEST_TOKEN }}
run: mvn test