Skip to content

Fix compile errors and fmt #2

Fix compile errors and fmt

Fix compile errors and fmt #2

Workflow file for this run

name: Continuous Integration
on:
push:
branches: ['**']
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: coursier/cache-action@v6.3
- uses: VirtusLab/scala-cli-setup@v0.1
- name: Compile
run: scala-cli run Day03.scala AOCApp.scala project.scala
format:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: coursier/cache-action@v6.3
- uses: VirtusLab/scala-cli-setup@v0.1
- name: Scalafmt check
run: |
scala-cli fmt --check . || (
echo "To format code run"
echo " scala-cli fmt ."
exit 1
)