Skip to content

Commit

Permalink
Add checking for scalafmt conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolajkapica committed Jun 22, 2024
1 parent 32c27a4 commit d12d5fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
with:
sparse-checkout: 'api'
- run: "find ./api -maxdepth 1 -mindepth 1 -exec mv {} . \\; && rm -r ./api"
- name: Check for scalafmt conformance
run: |
curl -fL "https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-pc-linux.gz" | gzip -d > cs
chmod +x cs
cs install scalafmt
./cs scalafmt --check
- name: Setup JDK
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit d12d5fc

Please sign in to comment.