Update scala-library to 2.12.20 #682
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: consul4s CI | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
scalafmt: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [[email protected]] | |
scala: [2.13.8] | |
steps: | |
- name: Checkout current branch | |
uses: actions/checkout@v2 | |
- name: Set up Java and Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: scalafmt | |
run: sbt ++${{ matrix.scala }} scalafmtCheckAll | |
test-scala2: | |
name: Scala ${{ matrix.scala }}, Java ${{ matrix.java }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [[email protected]] | |
scala: [2.12.15, 2.13.8] | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout current branch | |
uses: actions/checkout@v2 | |
- name: Set up Java and Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Run circe-tests | |
run: sbt ++${{ matrix.scala }} circe/test | |
- name: Run json4s-tests | |
run: sbt ++${{ matrix.scala }} json4s/test | |
- name: Run sprayJson-tests | |
run: sbt ++${{ matrix.scala }} sprayJson/test | |
test-scala3: | |
name: Scala ${{ matrix.scala }}, Java ${{ matrix.java }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [[email protected]] | |
scala: [3.3.1] | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout current branch | |
uses: actions/checkout@v2 | |
- name: Set up Java and Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Run circe-tests | |
run: sbt ++${{ matrix.scala }} circe/test |