Fix health example to use .addService instead of .bind #1853
This file contains hidden or 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: CI | |
on: | |
push: | |
branches: | |
- '[0-9]+.x' | |
pull_request: | |
branches: | |
- '[0-9]+.x' | |
schedule: | |
- cron: '0 4 * * *' | |
jobs: | |
Test: | |
name: Run tests | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
jdk: [11] | |
include: | |
- os: ubuntu-latest | |
jdk: 21 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: maven-java-${{ matrix.jdk }} | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install JDK | |
uses: joschi/setup-jdk@v2 | |
with: | |
java-version: ${{ matrix.jdk }} | |
- name: Run tests | |
run: mvn clean verify -B -s settings.xml |