Skip to content

Update actions/setup-java action to v4 #305

Update actions/setup-java action to v4

Update actions/setup-java action to v4 #305

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@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Run Maven tests
env:
TEST_TOKEN: ${{ secrets.TEST_TOKEN }}
run: mvn test