Switch from Gradle to Maven (#69) #2
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 | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| pull_request: | |
| branches: | |
| - "master" | |
| jobs: | |
| build: | |
| name: Build on JDK ${{ matrix.java }}, ${{ matrix.os }} and Vault ${{ matrix.vault }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| java: | |
| - 11 | |
| vault: | |
| - 1.12.11 | |
| - 1.13.0 | |
| - 1.13.1 | |
| - 1.13.2 | |
| - 1.13.3 | |
| - 1.13.4 | |
| - 1.13.5 | |
| - 1.13.6 | |
| - 1.13.7 | |
| - 1.13.8 | |
| - 1.14.0 | |
| - 1.14.1 | |
| - 1.14.2 | |
| - 1.14.3 | |
| - 1.14.4 | |
| - 1.15.0 | |
| - latest | |
| os: | |
| - ubuntu-latest | |
| # TODO: We disable Windows because testcontainers doesn't support runs in containers | |
| # (see https://github.com/testcontainers/testcontainers-java/pull/1780) | |
| # - windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: temurin | |
| - name: Build with Maven | |
| run: mvn --batch-mode --update-snapshots verify | |
| env: | |
| VAULT_VERSION: ${{ matrix.vault }} | |
| - uses: actions/upload-artifact@v4 # upload test results | |
| if: success() || failure() # run this step even if previous step failed | |
| with: | |
| overwrite: true | |
| name: test-results-${{ matrix.os }}-${{ matrix.vault }} | |
| path: build/test-results/ |