Skip to content

Commit

Permalink
GitHub Actions: enable PR verification
Browse files Browse the repository at this point in the history
  • Loading branch information
stariy95 committed Jan 31, 2024
1 parent 4a28625 commit 71b831f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/verify_on_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'build test deploy'

on: pull_request

jobs:
verify:
runs-on: ubuntu-latest
if: github.repository == 'agrestio/agrest'

name: JDK ${{ matrix.java }}

strategy:
matrix:
java: [ "11", "17", "21" ]
fail-fast: true

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.jdk }}
cache: 'maven'

- name: Build and test...
run: mvn clean verify

0 comments on commit 71b831f

Please sign in to comment.