Update sbt-sonatype to 3.12.2 (#660) #1042
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: [push, pull_request] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
cache: 'sbt' | |
- run: sbt scalafmtCheckAll scalafmtSbtCheck | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
cache: 'sbt' | |
- run: sbt "++${{matrix.scala}} test" | |
strategy: | |
matrix: | |
scala: | |
- '2.12.19' | |
- '2.13.15' | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
cache: 'sbt' | |
- run: | | |
sbt coverage test coverageAggregate | |
bash <(curl -s https://codecov.io/bash) |