Changes matrix java version #29
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 | |
strategy: | |
fail-fast: false | |
matrix: | |
scala: [ 3.3.3, 2.13.14, 2.12.19 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: "[email protected]" | |
- name: Run tests | |
run: sbt coverage "++${{ matrix.scala }} test" | |
- name: Upload coverage data to Coveralls | |
run: sbt ++${{ matrix.scala }} coverageReport coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COVERALLS_FLAG_NAME: Scala ${{ matrix.scala }} |