Skip to content

Commit

Permalink
config: adds github workflow ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach authored and romani committed Feb 4, 2023
1 parent 0a3ab33 commit 596c951
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
install:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 50

- name: Setup local maven cache
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-cache-${{ hashFiles('**/pom.xml') }}

- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11

- name: Build with Maven
run: mvn --errors --no-transfer-progress install

0 comments on commit 596c951

Please sign in to comment.