-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (38 loc) · 893 Bytes
/
test.yml
File metadata and controls
39 lines (38 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Test
"on":
push:
branches:
- '**'
tags:
- v*
pull_request:
branches:
- '**'
workflow_dispatch: null
jobs:
test:
runs-on: ubuntu-latest
name: run-tests
permissions:
packages: read
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
java-version: [ 21 ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
#overwrite-settings: false
- name: test with JDK ${{ matrix.java-version }}
shell: sh
run: mvn --batch-mode verify
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}