This is an automated email from the ASF dual-hosted git repository.
benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push:
new 9d8de2f48 Add build for all pull requests on GitHub (#44)
9d8de2f48 is described below
commit 9d8de2f481a50947dcdfbd87da66a9483e2411b9
Author: Christian Köberl <[email protected]>
AuthorDate: Thu Sep 21 11:44:16 2023 +0200
Add build for all pull requests on GitHub (#44)
* Add build for all pull requests on GitHub
* Add matrix for all supported Java versions
---
.github/workflows/build-pull-request.yaml | 33 +++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/.github/workflows/build-pull-request.yaml
b/.github/workflows/build-pull-request.yaml
new file mode 100644
index 000000000..018610e29
--- /dev/null
+++ b/.github/workflows/build-pull-request.yaml
@@ -0,0 +1,33 @@
+name: Build Pull Request
+on: pull_request
+
+env:
+ MOZ_HEADLESS: true
+
+jobs:
+ build:
+ name: Build pull request
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: [ 8, 11, 17 ]
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
+ with:
+ distribution: temurin
+ java-version: ${{ matrix.java }}
+
+ - name: Setup Firefox
+ uses: browser-actions/setup-firefox@v1
+
+ - name: Setup GeckoDriver
+ uses: browser-actions/setup-geckodriver@latest
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Setup Gradle
+ uses: gradle/gradle-build-action@v2
+
+ - name: Build with Gradle
+ run: ./gradlew -Dci=true --no-daemon --continue build