Add a delete call to preserve move behavior #126
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
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" |