Skip to content

Commit 4d90df0

Browse files
authored
Merge pull request #38 from newrelic/PR-workflow
Java-6228 add pull request workflow
2 parents 4e5d058 + e9ba3b3 commit 4d90df0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Java PR build (gradle)
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: gradle/wrapper-validation-action@v1
13+
- name: Set up JDK 11
14+
uses: actions/[email protected]
15+
with:
16+
java-version: 11
17+
- name: Build with Gradle
18+
run: ./gradlew build

0 commit comments

Comments
 (0)