-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (34 loc) · 1.09 KB
/
build-and-test-sdk.yml
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
39
40
41
name: Build and Test SDK
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test-sdk:
name: Build and Test SDK
runs-on: ubuntu-latest
env:
BUILDKITE_ANALYTICS_TOKEN: ${{ secrets.BUILDKITE_ANALYTICS_TOKEN }}
BUILDKITE_ANALYTICS_DEBUG_ENABLED: ${{ secrets.BUILDKITE_ANALYTICS_DEBUG_ENABLED }}
GITHUB_ACTION: ${{ github.action }}
GITHUB_RUN_ID: ${{ github.run_id }}
GITHUB_RUN_NUMBER: ${{ github.run_number }}
GITHUB_RUN_ATTEMPT: ${{ github.run_attempt }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_REF_NAME: ${{ github.ref_name }}
GITHUB_SHA: ${{ github.sha }}
GITHUB_WORKFLOW: ${{ github.workflow }}
GITHUB_ACTOR: ${{ github.actor }}
steps:
- name: Git Checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: zulu
java-version: 17
- name: Lint Project
run: "support/scripts/lint"
- name: Run SDK Unit Tests
run: "support/scripts/sdk-unit-tests"