From 2857820955ebff14c29e84f19d5e7cdcf6241fbb Mon Sep 17 00:00:00 2001 From: "scala-steward-asf[bot]" <147768647+scala-steward-asf[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:26:20 +0000 Subject: [PATCH 1/2] Update scalafmt-core to 3.7.17 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 67d8d593..13e53810 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.7.11 +version = 3.7.17 runner.dialect = scala213 project.git = true style = defaultWithAlign From dd88fe282eef46dfea0238dec7bfaa7ff1d6c2a5 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Sat, 6 Apr 2024 16:45:00 +0200 Subject: [PATCH 2/2] Update scalafmt-native-action So it picks up the version from .scalafmt.conf --- .github/workflows/format.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 2150690a..9a21f0ff 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -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.11' arguments: '--list --mode diff-ref=origin/main'