Minor update to LoggerSupport.log to lazily evaluate #1332
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: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 23 | |
- name: Setup sbt launcher | |
uses: sbt/setup-sbt@v1 | |
with: | |
sbt-runner-version: '1.10.7' | |
- name: Coursier cache | |
uses: coursier/cache-action@v6 | |
- name: Build and test | |
run: | | |
sbt -v -Dfile.encoding=UTF-8 +test | |
sbt -v -Dfile.encoding=UTF-8 clean coverage test coverageAggregate | |
rm -rf "$HOME/.ivy2/local" || true | |
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true | |
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true | |
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true | |
find $HOME/.sbt -name "*.lock" -delete || true | |
- name: Run codacy-coverage-reporter | |
uses: codacy/codacy-coverage-reporter-action@v1 | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: target/scala-2.13/coverage-report/cobertura.xml |