Merge pull request #370 from helins/new-cns #1593
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: [push] | |
### | |
jobs: | |
test: | |
strategy: | |
matrix: | |
java-version: | |
- 17 | |
os: | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Prepare Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
- name: Maven dependencies cache | |
uses: actions/cache@v3 | |
with: | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
path: ~/.m2 | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Run tests | |
run: mvn clean test |