Update compilerplugin, scalapb-runtime to 0.11.20 #500
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 8 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: 8 | |
| distribution: temurin | |
| - name: Mount caches | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.sbt | |
| ~/.ivy2/cache | |
| ~/.cache/coursier | |
| key: ${{ runner.os }}-sbt-${{matrix.scala}}-${{ hashFiles('**/*.sbt') }} | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Formatting | |
| run: | | |
| sbt scalafmtCheck test:scalafmtCheck scalafmtSbtCheck | |
| - name: Compile and test | |
| run: | | |
| sbt +test | |
| - name: Examples | |
| run: | | |
| cd example && sbt compile | |
| # Single final job for mergify. | |
| ci-passed: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - run: ':' |