Skip to content

Add illustrations source (#283) #82

Add illustrations source (#283)

Add illustrations source (#283) #82

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
permissions:
contents: write
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
steps:
- name: Checkout Course Management Tools Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: sbt
- name: Run tests
shell: bash
run: sbt test
formatting:
runs-on: 'ubuntu-latest'
steps:
- name: Checkout Course Management Tools Repo
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: adopt-hotspot
cache: 'sbt'
- name: Check code formatting
run: sbt "scalafmtCheckAll ; scalafmtSbtCheck"