Update pekko-stream to 1.2.0 #1459
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: CI | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| push: | |
| branches: [ master ] | |
| tags: [ v* ] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java: [ "21", "24" ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| cache: 'sbt' | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Check formatting | |
| run: sbt -v scalafmtCheckAll | |
| - name: Compile | |
| run: sbt -v compile | |
| - name: Compile documentation | |
| run: sbt -v compileDocumentation | |
| - name: Test | |
| run: sbt -v test | |
| - uses: actions/upload-artifact@v4 # upload test results | |
| if: success() || failure() # run this step even if previous step failed | |
| with: | |
| name: 'tests-results-java-${{ matrix.java }}' | |
| path: '**/test-reports/TEST*.xml' | |
| # identify binary incompatibilities (check build.sbt for details) | |
| mima: | |
| uses: softwaremill/github-actions-workflows/.github/workflows/mima.yml@main | |
| # run on 1) push, 2) external PRs, 3) softwaremill-ci PRs | |
| # do not run on internal, non-steward PRs since those will be run by push to branch | |
| if: | | |
| github.event_name == 'push' || | |
| github.event.pull_request.head.repo.full_name != github.repository || | |
| github.event.pull_request.user.login == 'softwaremill-ci' | |
| with: | |
| java-version: '21' | |
| java-opts: '-Xms4g -Xmx4g' # SBT_JAVA_OPTS env parameter adapted for JVM | |
| publish: | |
| uses: softwaremill/github-actions-workflows/.github/workflows/publish-release.yml@main | |
| needs: [ci] | |
| if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v')) | |
| secrets: inherit | |
| with: | |
| java-version: '21' | |
| label: | |
| # only for PRs by softwaremill-ci | |
| if: github.event.pull_request.user.login == 'softwaremill-ci' | |
| uses: softwaremill/github-actions-workflows/.github/workflows/label.yml@main | |
| auto-merge: | |
| # only for PRs by softwaremill-ci | |
| if: github.event.pull_request.user.login == 'softwaremill-ci' | |
| needs: [ ci, label, mima ] | |
| uses: softwaremill/github-actions-workflows/.github/workflows/auto-merge.yml@main |