Skip to content

Update scala3-library to 3.5.2 #707

Update scala3-library to 3.5.2

Update scala3-library to 3.5.2 #707

Workflow file for this run

name: consul4s CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
scalafmt:
runs-on: ubuntu-latest
strategy:
matrix:
java: [adopt@1.11]
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: [adopt@1.11]
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: [adopt@1.11]
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