Skip to content

Update sbt, scripted-plugin to 1.10.5 #341

Update sbt, scripted-plugin to 1.10.5

Update sbt, scripted-plugin to 1.10.5 #341

Workflow file for this run

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