Skip to content

chore: bump munit to 1.0.0 #100

chore: bump munit to 1.0.0

chore: bump munit to 1.0.0 #100

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ${{ matrix.OS }}
strategy:
matrix:
OS: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: restore cache
uses: coursier/cache-action@v6
- name: setup scala-cli
uses: VirtusLab/[email protected]
- name: test jvm
run: scala-cli --power test .
- name: test js
run: scala-cli --power test --js .
- name: test native
run: scala-cli --power test --native .
format:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: VirtusLab/[email protected]
- name: Scalafmt check
run: |
scala-cli fmt --check . || (
echo "To format code run"
echo " scala-cli fmt ."
exit 1
)