Update sbt-sonatype to 3.12.2 #81
Workflow file for this run
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: pr | |
on: pull_request | |
jobs: | |
test-scroll: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, windows-2022, macos-12] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
cache: 'sbt' | |
- name: Compile and run tests | |
run: sbt "clean; test;" | |
- name: Compile Jmh benchmarks | |
run: sbt "clean; benchmark/Jmh/compile;" | |
- name: Check formatting | |
run: sbt "scalafmtCheckAll; scalafmtSbtCheck;" | |
- run: echo "Previous step failed because code is not formatted. Run 'sbt format'" | |
if: ${{ failure() }} |