Merge pull request #138 from Philippus/run-release-on-tags-starting-w… #197
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: build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
scala-version: [2.13.x] | |
java-version: [8, 11, 17, 21] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java-version }} | |
- name: Run tests | |
run: sbt ++${{ matrix.scala-version }} clean versionPolicyCheck coverage test coverageReport | |
- name: Upload coverage report | |
run: bash <(curl -s https://codecov.io/bash) |