Skip to content

Update testcontainers-scala to 0.41.4 #186

Update testcontainers-scala to 0.41.4

Update testcontainers-scala to 0.41.4 #186

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CI: true
CI_SNAPSHOT_RELEASE: +publishSigned
SCALA_VERSION: 2.12.11
jobs:
validate:
name: Scala ${{ matrix.scala }}, Java ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [adopt@1.8, adopt@1.11, adopt@1.14]
scala: [2.12.11, 2.13.1]
env:
SCALA_VERSION: ${{ matrix.scala }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v10
with:
java-version: ${{ matrix.java }}
- name: Cache Coursier
uses: actions/cache@v1
with:
path: ~/.cache/coursier
key: sbt-coursier-cache
- name: Cache SBT
uses: actions/cache@v1
with:
path: ~/.sbt
key: sbt-${{ hashFiles('**/build.sbt') }}
- name: Compile
run: sbt ++$SCALA_VERSION test:compile
- name: Check compatibility
run: sbt ++$SCALA_VERSION mimaReportBinaryIssues
- name: Test
run: sbt ++$SCALA_VERSION test
- name: Scaladoc
run: sbt ++$SCALA_VERSION doc
# docs:
# name: Doc Site
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: olafurpg/setup-scala@v10
# - name: Cache Coursier
# uses: actions/cache@v1
# with:
# path: ~/.cache/coursier
# key: sbt-coursier-cache
# - name: Cache SBT
# uses: actions/cache@v1
# with:
# path: ~/.sbt
# key: sbt-${{ hashFiles('**/build.sbt') }}
# - name: Set up Ruby 2.6
# uses: actions/setup-ruby@v1
# with:
# ruby-version: 2.6
# - name: Install Jekyll
# run: |
# gem install bundler
# bundle install --gemfile=site/Gemfile
# - name: Build project site
# run: sbt ++$SCALA_VERSION site/makeMicrosite