-
Notifications
You must be signed in to change notification settings - Fork 22
38 lines (37 loc) · 1.17 KB
/
Copy pathbuild.yaml
File metadata and controls
38 lines (37 loc) · 1.17 KB
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
name: Build Project
on:
push:
branches-ignore: [ renovate/** ]
pull_request:
branches: [ main ]
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
jobs:
gradle-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version-file: gradle/jdk-version.txt
- uses: gradle/actions/setup-gradle@v6
with:
cache-read-only: false
build-scan-terms-of-use-url: https://gradle.com/help/legal-terms-of-use
build-scan-terms-of-use-agree: yes
- uses: testlens-app/setup-testlens@v1.9.3
- run: "./gradlew :plugins:test" # test the Gradle configuration
- run: "./gradlew qualityCheck"
- run: "./gradlew test"
- run: "./gradlew testEndToEnd"
- run: "./gradlew testEndToEndSlow"
- run: "./gradlew build"
- run: "./gradlew cyclonedxBom"
if: ${{ !contains(github.ref_name, '/') }}
- uses: actions/upload-artifact@v7
if: always()
with:
name: reports
path: gradle/aggregation/build/reports