Repository navigation
Update sbt-ci-release to 1.12.0 #103
Workflow file for this run
This file contains hidden or 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 | |
| env: | |
| JDK_JAVA_OPTIONS: | | |
| --add-opens=java.base/java.util=ALL-UNNAMED | |
| --add-opens=java.base/java.lang=ALL-UNNAMED | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| compile-all: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check code format | |
| uses: jrouly/scalafmt-native-action@v1 | |
| with: | |
| version: "3.9.9" | |
| arguments: "-c .scalafmt.conf --test zio-http-pac4j example" | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "17" | |
| distribution: "temurin" | |
| cache: "sbt" | |
| - name: Setup sbt launcher | |
| uses: sbt/setup-sbt@v1 | |
| - name: Build and test | |
| run: sbt -v +test |