-
Notifications
You must be signed in to change notification settings - Fork 16
35 lines (30 loc) · 955 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build & Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write # The Dependency Submission API requires write permission
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'liberica'
cache: 'gradle'
- run: ./gradlew jar testClasses
- run: cd sample && docker-compose up -d db && cd -
- run: ./gradlew test --info
- run: cd sample && docker-compose stop db && cd -
- run: cd sample && docker-compose build && cd -
- run: .github/workflows/check-readme-links.sh
- uses: mikepenz/[email protected]
if: ${{ github.ref == 'refs/heads/master' }}
with:
gradle-build-module: |-
:server
:slf4j
:jackson
:liquibase
:sample