This repository has been archived by the owner on Jan 23, 2025. It is now read-only.
improve exceptions #313
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: Java CI | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'develop' | |
pull_request: | |
branches: | |
- 'main' | |
- 'develop' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Build with Maven | |
run: mvn -B clean install | |
- name: Run JUnit tests | |
run: mvn test |