From f3279a4414f050cf9dbb2b56db7eae31a9c8ee35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Nov 2023 11:14:06 -0800 Subject: [PATCH] Bump scalameta/scalafmt from 3.7.15 to v3.7.16 (#4861) * Bump scalameta/scalafmt from 3.7.15 to v3.7.16 Bumps scalameta/scalafmt from 3.7.15 to v3.7.16. --- updated-dependencies: - dependency-name: scalameta/scalafmt dependency-type: direct:production ... Signed-off-by: dependabot[bot] * add write permissions to workflow * Update scala config version to match version installed * fix indentation --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zack Koppert Co-authored-by: zkoppert --- .github/workflows/sync-scala-version.yaml | 3 +++ Dockerfile | 2 +- TEMPLATES/.scalafmt.conf | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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