Update sbt-sonatype to 3.11.1 (#626) #961
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: '17' | |
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: '17' | |
cache: 'sbt' | |
- run: sbt "++${{matrix.scala}} test" | |
strategy: | |
matrix: | |
scala: | |
- '2.12.18' | |
- '2.13.11' | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
cache: 'sbt' | |
- run: | | |
sbt coverage test coverageAggregate | |
bash <(curl -s https://codecov.io/bash) |