Merge pull request #217 from scala-steward/update/sbt-mima-plugin-1.1.3 #54
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: Scala CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
scala-version: [2.10.7, 2.11.12, 2.12.18, 2.13.11, 3.1.1] | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 8 | |
cache: sbt | |
- name: Run tests | |
run: sbt -v "++${{ matrix.scala-version }} clean; test; scalastyle;" |