Skip to content

Commit

Permalink
Set up test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dzianishchyts committed May 18, 2024
1 parent a46ff23 commit 58b743c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'build test'

on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
java: [ 11, 17, 21 ]

steps:
- name: Checkout...
uses: actions/checkout@v4

- name: Set up JDK...
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'

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

0 comments on commit 58b743c

Please sign in to comment.