[Backport 0.6] [followup] Add setup-sbt in snapshot-publish workflow #2631
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: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
entry: | |
- { os: ubuntu-latest, java: 11 } | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Set up SBT | |
uses: sbt/setup-sbt@v1 | |
- name: Style check | |
run: sbt scalafmtCheckAll | |
- name: Integ Test | |
run: sbt integtest/integration |