#132 Add Clang-Format and Clang-Tidy checks #3
Workflow file for this run
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: Maven | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- "ports/java/**" | |
- ".github/workflows/*" | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "ports/java/**" | |
- ".github/workflows/*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Unit Test | |
working-directory: ${{github.workspace}}/ports/java | |
run: mvn test | |
- name: Package | |
working-directory: ${{github.workspace}}/ports/java | |
run: mvn package |