Update Maven wrapper to version 3.9.12, introduce multi-stage Dockerf… #1
This file contains hidden or 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: CI-pipeline | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5.1.0 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| # - name: Make mvnw executable | |
| # run: chmod +x mvnw | |
| - name: Compile and run tests | |
| run: ./mvnw -B test | |
| - name: Run spotless | |
| run: ./mvnw -B spotless:check |