Update munit to 1.0.0 #755
Workflow file for this run
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
# This file was originally automatically generated by sbt-github-actions | |
# using the githubWorkflowGenerate task. AFAICT sbt-github-actions doesn't | |
# support adding "Services" to the build via the sbt DSL, so we had to | |
# remove the plugin and manually modify the generated files. | |
name: Continuous Integration | |
on: | |
pull_request: | |
branches: ['**'] | |
push: | |
branches: ['**'] | |
tags: [v*] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build: | |
name: Build and Test | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
scala: | |
- 2.13.8 | |
java: | |
- temurin@8 | |
- temurin@11 | |
database: | |
- mysql:8 | |
runs-on: ${{ matrix.os }} | |
env: | |
LOG_LEVEL: info | |
services: | |
mysql: | |
image: ${{ matrix.database }} | |
env: | |
MYSQL_ROOT_PASSWORD: password | |
ports: | |
- 3306:3306 | |
steps: | |
- name: Checkout current branch (full) | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Java (temurin@8) | |
if: matrix.java == 'temurin@8' | |
uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- name: Setup Java (temurin@11) | |
if: matrix.java == 'temurin@11' | |
uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Cache sbt | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.sbt | |
~/.ivy2/cache | |
~/.coursier/cache/v1 | |
~/.cache/coursier/v1 | |
~/AppData/Local/Coursier/Cache/v1 | |
~/Library/Caches/Coursier/v1 | |
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Build project | |
run: sbt ++${{ matrix.scala }} test |