use given
instead of implicit
if Scala 3
#78
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: CI | |
on: | |
pull_request: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- jobtype: 1 | |
- jobtype: 2 | |
- jobtype: 3 | |
- jobtype: 4 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
cache: sbt | |
- if: ${{ matrix.jobtype == 1 }} | |
shell: bash | |
run: sbt -v "++2.13.x" library/test | |
- if: ${{ matrix.jobtype == 2 }} | |
shell: bash | |
run: sbt -v "++2.12.x" test scripted | |
- if: ${{ matrix.jobtype == 3 }} | |
shell: bash | |
run: sbt -v "++3.x" test scripted | |
- if: ${{ matrix.jobtype == 4 }} | |
shell: bash | |
run: sbt -v "++2.12.x" scalafmtSbtCheck scalafmtCheckAll |