Build & Test #327
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
# Run every night at midnight. | |
- cron: '0 0 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout eclair | |
uses: actions/checkout@v3 | |
with: | |
repository: acinq/eclair | |
path: eclair | |
- name: Checkout eclair-plugins | |
uses: actions/checkout@v3 | |
with: | |
path: eclair-plugins | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: 'adopt' | |
- name: Build eclair | |
run: mvn install -DskipTests | |
working-directory: ./eclair | |
- name: Build eclair plugins | |
run: mvn test-compile && mvn test | |
working-directory: ./eclair-plugins |