Build and test on each push #9
16
.gitea/workflows/test-on-push.yaml
Normal file
16
.gitea/workflows/test-on-push.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: Build and test
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
jobs:
|
||||||
|
build-and-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up JDK
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '17'
|
||||||
|
distribution: 'temurin'
|
||||||
|
cache: maven
|
||||||
|
- name: Build with Maven
|
||||||
|
run: mvn --batch-mode --update-snapshots verify
|
Loading…
x
Reference in New Issue
Block a user