Try to fix the CI failure #5
Workflow file for this run
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: Continuous Integration | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
test212: | |
name: Test (Scala 2.12) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 11 | |
cache: sbt | |
- uses: coursier/setup-action@v1 | |
with: | |
apps: cs | |
- run: npm install jsdom@12.2.0 | |
- run: "cs launch org.endpoints4s::stub-server:5.3.0 &" | |
- run: sbt "++ 2.12 test" | |
test213: | |
name: Test (Scala 2.13) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 11 | |
cache: sbt | |
- uses: coursier/setup-action@v1 | |
with: | |
apps: cs | |
- run: npm install jsdom@12.2.0 | |
- run: sudo apt-get install graphviz | |
- run: "cs launch org.endpoints4s::stub-server:5.3.0 &" | |
- run: sbt "++ 2.13 ;test ;documentation/makeSite" | |
versionPolicy: | |
name: Check versioning policy and code style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 11 | |
cache: sbt | |
- run: sbt versionPolicyCheck scalafmtCheck |