Add Continuous integration (#34)
This commit is contained in:
26
.github/workflows/continuous-integration.yml
vendored
Normal file
26
.github/workflows/continuous-integration.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Run continuous integration
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Set up Java
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: '17'
|
||||||
|
check-latest: false
|
||||||
|
cache: 'maven'
|
||||||
|
- name: Build with Maven
|
||||||
|
run: 'mvn package'
|
||||||
|
shell: bash
|
||||||
Reference in New Issue
Block a user