Skip to content

Commit

Permalink
Add github action to run mvn verify
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlussel committed Apr 17, 2024
1 parent 541e7ac commit 03f7436
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 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
show-progress: false
fetch-tags: true
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Maven verify
run: mvn verify

0 comments on commit 03f7436

Please sign in to comment.