Bump ch.qos.logback:logback-classic #56
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: "CI" | |
on: [push] | |
jobs: | |
play-java-sbt-example: | |
strategy: | |
matrix: | |
java: [8] | |
nodejs: [12] | |
os: [ubuntu-latest] | |
name: play-java-sbt-example with java ${{ matrix.java }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- run: command -v http || sudo apt-get install -y httpie | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.nodejs-version }} | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-${{ matrix.os }}-npm- | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.os }}-npm- | |
- run: command -v wait-port || sudo npm i -g wait-port | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
${{ runner.os }}- | |
- run: cd $GITHUB_WORKSPACE/prerequisites/play-java-sbt-example && ./sbt clean dist | |
- run: unzip -d $GITHUB_WORKSPACE/prerequisites/play-java-sbt-example/target/app $GITHUB_WORKSPACE/prerequisites/play-java-sbt-example/target/universal/play-java-sbt-example-*.zip | |
- run: cd $GITHUB_WORKSPACE/prerequisites/play-java-sbt-example && ./target/app/play-java-sbt-example-*/bin/play-java-sbt-example -Dplay.http.secret.key=ad31779d4ee49d5ad5162bf1429c32e2e9933f3b & | |
- name: Test | |
run: | | |
ps waux | grep java | |
wait-port 9000 | |
http get :9000 | |
akka-http-java-maven-example: | |
strategy: | |
matrix: | |
java: [8] | |
nodejs: [12] | |
os: [ubuntu-latest] | |
name: akka-http-java-maven-example with java ${{ matrix.java }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- run: command -v http || sudo apt-get install -y httpie | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.nodejs-version }} | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-${{ matrix.os }}-npm- | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.os }}-npm- | |
- run: command -v wait-port || sudo npm i -g wait-port | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
${{ runner.os }}- | |
- run: cd $GITHUB_WORKSPACE && ./mvnw -f prerequisites/akka-http-java-maven-example | |
- name: Run and test | |
env: | |
CI: true | |
run: java -jar $GITHUB_WORKSPACE/prerequisites/akka-http-java-maven-example/target/*-all.jar & | |
- name: Test | |
run: | | |
env | |
ps | |
ps waux | grep java | |
wait-port 8080 | |
http get :8080/api/hello | |
http post :8080/api/bye | |
akka-actor-typed-java-maven-example: | |
strategy: | |
matrix: | |
java: [8] | |
os: [ubuntu-latest] | |
name: akka-actor-typed-java-maven-example with java ${{ matrix.java }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
${{ runner.os }}- | |
- run: cd $GITHUB_WORKSPACE && ./mvnw -f prerequisites/akka-actor-typed-java-maven-example | |
- run: java -jar $GITHUB_WORKSPACE/prerequisites/akka-actor-typed-java-maven-example/target/*-all.jar |