diff --git a/.github/workflows/sync-scala-version.yaml b/.github/workflows/sync-scala-version.yaml index 62844dcf..20820346 100644 --- a/.github/workflows/sync-scala-version.yaml +++ b/.github/workflows/sync-scala-version.yaml @@ -7,6 +7,9 @@ on: paths: - 'Dockerfile' +permissions: + contents: write + jobs: build: runs-on: ubuntu-latest diff --git a/Dockerfile b/Dockerfile index 631dc832..2991148a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ FROM koalaman/shellcheck:v0.9.0 as shellcheck FROM mstruebing/editorconfig-checker:2.7.2 as editorconfig-checker FROM mvdan/shfmt:v3.7.0 as shfmt FROM rhysd/actionlint:1.6.26 as actionlint -FROM scalameta/scalafmt:v3.7.15 as scalafmt +FROM scalameta/scalafmt:v3.7.16 as scalafmt FROM zricethezav/gitleaks:v8.18.0 as gitleaks FROM yoheimuta/protolint:0.46.3 as protolint diff --git a/TEMPLATES/.scalafmt.conf b/TEMPLATES/.scalafmt.conf index 212370ef..20c3a71b 100644 --- a/TEMPLATES/.scalafmt.conf +++ b/TEMPLATES/.scalafmt.conf @@ -1,6 +1,6 @@ // Scala Format Configuration // https://scalameta.org/scalafmt/docs/configuration.html -version = 3.7.15 +version = 3.7.16 align.preset = more // For pretty alignment. maxColumn = 80 // https://scalameta.org/scalafmt/docs/configuration.html#scala-dialects