Skip to content

Commit

Permalink
add github pr workflow (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcal43 authored Dec 2, 2024
1 parent 0f87744 commit 8b41b6d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Used when building external pull requests
# We don't want to publish build artifacts or expose our other caches to possibly untrusted code
name: build-pull-request

on: [ pull_request ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: true

- name: Execute Gradle build
run: ./gradlew build

0 comments on commit 8b41b6d

Please sign in to comment.