-
Notifications
You must be signed in to change notification settings - Fork 96
31 lines (31 loc) · 923 Bytes
/
pull_request.yml
File metadata and controls
31 lines (31 loc) · 923 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
name: Pull Request Build
# For pull requests: builds and test
on:
push:
branches:
- '!master'
pull_request:
branches:
- master
- reactive-streams-branch
- '**'
jobs:
buildAndTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: gradle/actions/wrapper-validation@v5
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'corretto'
check-latest: true
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: build and test
run: ./gradlew assemble && ./gradlew check --info --stacktrace && ./gradlew jcstress
env:
CI: true