Skip to content

Commit

Permalink
Add PR validation workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pshevche committed Mar 14, 2024
1 parent dc4df49 commit e6c3eb4
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]

jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
29 changes: 29 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'Verify'

on:
push:
branches-ignore:
- gh-pages
pull_request:
branches:
- '*'

jobs:
build-and-verify:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- name: 'Set up JDK 8'
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
- name: 'Set up JDK 21'
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: 'Build'
uses: gradle/gradle-build-action@v3
with:
arguments: "build"

0 comments on commit e6c3eb4

Please sign in to comment.