Remove hard-coded scalafmt version (#901)

Since `scalafmt-native-action v3` the scalafmt version will be picked up from the `.scalafmt.conf` file.

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
This commit is contained in:
Marco Zühlke 2024-01-04 10:40:53 +01:00 committed by GitHub
parent 5cb7ad7d75
commit cda63179fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,6 @@ jobs:
persist-credentials: false
- name: Check project is formatted
uses: jrouly/scalafmt-native-action@v2
uses: jrouly/scalafmt-native-action@v3
with:
version: '3.7.14'
arguments: '--list --mode diff-ref=origin/main'