Skip to content

Commit

Permalink
New(workflows): Maven validate and compile checks (#148)
Browse files Browse the repository at this point in the history
* New(workflows): Maven validate and compile checks

* Update(workflows): Install Java 17 in mvn-compile-check
  • Loading branch information
rkubis authored Nov 22, 2023
1 parent 736f522 commit d17e381
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/mvn-compile-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: mvn-compile-check
run-name: Maven compile check
on: [push]
jobs:
mvn-compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- run: mvn compile
9 changes: 9 additions & 0 deletions .github/workflows/mvn-validate-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: mvn-validate-check
run-name: Maven validate check
on: [push]
jobs:
mvn-compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: mvn validate

0 comments on commit d17e381

Please sign in to comment.