-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (29 loc) · 875 Bytes
/
validate.yaml
File metadata and controls
39 lines (29 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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