Skip to content

Update scalafmt-core to 3.7.15 #104

Update scalafmt-core to 3.7.15

Update scalafmt-core to 3.7.15 #104

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
jobs:
build:
runs-on: ${{ matrix.OS }}
strategy:
matrix:
OS: ["ubuntu-latest", "macos-latest", "windows-latest"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: coursier/[email protected]
- uses: VirtusLab/[email protected]
- name: Test
run: scala-cli test ulc --cross
- name: Package app
run: scala-cli .github/scripts/package.sc
- uses: actions/upload-artifact@v3
with:
name: artifacts
path: artifacts
if-no-files-found: error
retention-days: 2
format:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: coursier/[email protected]
- uses: VirtusLab/[email protected]
- name: Scalafmt check
run: |
scala-cli fmt --check ulc || (
echo "To format code run"
echo " scala-cli fmt ."
exit 1
)