Add shared SDK SLO Dockerfile for all workload modules. (#65) #43
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: Validate YDB Examples | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| name: Validate YDB Examples | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: [ '8', '11', '17'] | |
| env: | |
| MAVEN_ARGS: --batch-mode --update-snapshots -Dstyle.color=always | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| - name: Override docker client version # https://github.com/testcontainers/testcontainers-java/issues/11212 | |
| run: echo "api.version=1.44" > ~/.docker-java.properties | |
| - name: Download dependencies | |
| run: mvn $MAVEN_ARGS dependency:go-offline | |
| - name: Build with Maven | |
| run: mvn $MAVEN_ARGS package | |