Skip to content

Commit

Permalink
Add minimal CI with Maven and GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabua committed Aug 31, 2023
1 parent 7900850 commit 849cbd9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci

on:
push:
branches:
- main

defaults:
run:
shell: bash --noprofile --norc -euo pipefail {0}

env:
# Use Maven wrapper from repo with Maven version and other configs
MAVEN: ./mvnw -B

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: $MAVEN clean verify

0 comments on commit 849cbd9

Please sign in to comment.