Skip to content

Merge pull request #61 from scalacenter/update/scalafmt-core-3.7.13 #115

Merge pull request #61 from scalacenter/update/scalafmt-core-3.7.13

Merge pull request #61 from scalacenter/update/scalafmt-core-3.7.13 #115

Workflow file for this run

name: CI
on:
push:
paths-ignore:
- '*.md'
branches:
- main
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java: [ '11', '17' ]
os: [ 'ubuntu-latest' ]
steps:
- name: checkout the repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JVM
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Run tests
run: sbt +test
formatting:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JVM
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Check Formatting
run: sbt "scalafmtCheckAll; scalafmtSbtCheck; scalafix --check; test:scalafix --check"