Skip to content

Update scalafmt-core to 3.8.3-fork-1 #549

Update scalafmt-core to 3.8.3-fork-1

Update scalafmt-core to 3.8.3-fork-1 #549

Workflow file for this run

name: CI
on:
pull_request:
push:
workflow_dispatch:
jobs:
test:
runs-on: "${{ matrix.os }}"
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os:
- "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.15.0"
- run: |
npm install
./node_modules/.bin/prettier --write "./sources/main.js" "./sources/index.html"
git diff --exit-code
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- uses: coursier/cache-action@v6
- run: sbt -v
scalafmtSbtCheck
scalafmtCheckAll
updateClassifiers
test
copyFilesFull
- if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' && github.repository_owner == 'xuwei-k' && matrix.os == 'ubuntu-latest' }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: sources
clean: true