Merge pull request #324 from coursier/create-pull-request/patch #492
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: coursier/[email protected] | |
- uses: coursier/[email protected] | |
with: | |
jvm: 11 | |
- run: ./scala-cli.sh compile src | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: coursier/[email protected] | |
- uses: coursier/[email protected] | |
with: | |
jvm: 11 | |
apps: scalafmt | |
- run: scalafmt --test |