This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-r2dbc.git
The following commit(s) were added to refs/heads/main by this push:
new 077c2e1 Remove unnecessary scalafmt/header checks
077c2e1 is described below
commit 077c2e1b4869ce09a195443280ed3a77903a4c1f
Author: Matthew de Detrich <[email protected]>
AuthorDate: Wed Apr 5 17:37:26 2023 +0200
Remove unnecessary scalafmt/header checks
---
.github/workflows/build-test.yml | 32 --------------------------------
build.sbt | 1 -
project/plugins.sbt | 2 +-
3 files changed, 1 insertion(+), 34 deletions(-)
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index 5774122..50ff713 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -8,38 +8,6 @@ on:
tags-ignore: [ v.* ]
jobs:
- check-code-style:
- name: Checks
- runs-on: ubuntu-latest
- if: github.repository == 'apache/incubator-pekko-persistence-r2dbc'
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- # we don't know what commit the last tag was it's safer to get
entire repo so previousStableVersion resolves
- fetch-depth: 0
-
- - name: Checkout GitHub merge
- if: github.event.pull_request
- run: |-
- git fetch origin pull/${{ github.event.pull_request.number
}}/merge:scratch
- git checkout scratch
-
- - name: Set up JDK 11
- uses: actions/setup-java@v3
- with:
- distribution: temurin
- java-version: 11
-
- - name: Cache Coursier cache
- uses: coursier/[email protected]
-
- - name: Enable jvm-opts
- run: cp .jvmopts-ci .jvmopts
-
- - name: Code style check and binary-compatibility check
- run: |-
- sbt scalafmtCheckAll scalafmtSbtCheck headerCheck
compile:
name: Test and compile
runs-on: ubuntu-latest
diff --git a/build.sbt b/build.sbt
index eb6b64c..001312f 100644
--- a/build.sbt
+++ b/build.sbt
@@ -32,7 +32,6 @@ def common: Seq[Setting[_]] =
crossScalaVersions := Seq(Dependencies.Scala212, Dependencies.Scala213),
scalaVersion := Dependencies.Scala213,
crossVersion := CrossVersion.binary,
- scalafmtOnCompile := true,
sonatypeProfileName := "org.apache.pekko",
// Setting javac options in common allows IntelliJ IDEA to import them
automatically
Compile / javacOptions ++= Seq("-encoding", "UTF-8", "-source", "1.8",
"-target", "1.8"),
diff --git a/project/plugins.sbt b/project/plugins.sbt
index a05f0a4..1420f2b 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -1,5 +1,5 @@
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.5") // for maintenance
of copyright file header
-addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
+addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")
addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0")
// for releasing
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]