-
Notifications
You must be signed in to change notification settings - Fork 261
44 lines (41 loc) · 1.22 KB
/
pr-v5.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
42
43
44
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.
---
name: "Verify PR v5"
on:
pull_request:
branches: [main, egeria-release-5*]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: "Verify PR v5"
if: startsWith(github.repository,'odpi/')
steps:
- uses: actions/[email protected]
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Build with Gradle
uses: gradle/gradle-build-action@v3
with:
# Only cache for main build
cache-read-only: true
arguments: |
build
--scan
- name: Upload Test coverage report
uses: actions/[email protected]
with:
name: Jacoco Coverage Report
path: build/reports/jacoco/codeCoverageReport
- name: Upload Log of any dependency failures
uses: actions/[email protected]
with:
name: Dependency Analysis Report (on failure)
path: build/reports/dependency-analysis/build-health-report.txt
if-no-files-found: ignore