Merge pull request #841 from scala-steward/update/auxlib-0.5.6 #348
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: | |
branches: ['main'] | |
tags: ['[0-9]'] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [8, 11, 17] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: ${{matrix.java}} | |
- uses: coursier/cache-action@v6 | |
# note use of an old sbt version, as a smoke test | |
- run: "sbt +test mimaReportBinaryIssues 'set sbtplugin/scriptedSbt := \"1.3.13\"' 'scripted sbt-mima-plugin/minimal'" | |
testFunctional: | |
needs: build | |
strategy: | |
fail-fast: false | |
matrix: | |
scala: [2.11, 2.12, 2.13, 3] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- uses: coursier/cache-action@v6 | |
- run: sbt "functional-tests/runMain com.typesafe.tools.mima.lib.UnitTests -${{ matrix.scala }}" | |
testScripted: | |
needs: build | |
strategy: | |
fail-fast: false | |
matrix: | |
scripted: [1of2, 2of2] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- uses: coursier/cache-action@v6 | |
- run: sbt "scripted sbt-mima-plugin/*${{ matrix.scripted }}" | |
testIntegration: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- uses: coursier/cache-action@v6 | |
- run: sbt IntegrationTest/test |