Skip to content

Commit 383ceeb

Browse files
authored
Merge branch 'main' into issue-2519-gitlab-minimum-reviewers
2 parents 794249d + bdb8c34 commit 383ceeb

File tree

28 files changed

+596
-129
lines changed

28 files changed

+596
-129
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
os: [ubuntu-latest]
26-
scala: [2.12.16, 2.13.8]
26+
scala: [2.12.17, 2.13.10]
2727
java: [adopt-hotspot@8, adopt-hotspot@11]
2828
runs-on: ${{ matrix.os }}
2929
steps:
@@ -118,22 +118,22 @@ jobs:
118118
~/Library/Caches/Coursier/v1
119119
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
120120

121-
- name: Download target directories (2.12.16)
121+
- name: Download target directories (2.12.17)
122122
uses: actions/download-artifact@v2
123123
with:
124-
name: target-${{ matrix.os }}-2.12.16-${{ matrix.java }}
124+
name: target-${{ matrix.os }}-2.12.17-${{ matrix.java }}
125125

126-
- name: Inflate target directories (2.12.16)
126+
- name: Inflate target directories (2.12.17)
127127
run: |
128128
tar xf targets.tar
129129
rm targets.tar
130130
131-
- name: Download target directories (2.13.8)
131+
- name: Download target directories (2.13.10)
132132
uses: actions/download-artifact@v2
133133
with:
134-
name: target-${{ matrix.os }}-2.13.8-${{ matrix.java }}
134+
name: target-${{ matrix.os }}-2.13.10-${{ matrix.java }}
135135

136-
- name: Inflate target directories (2.13.8)
136+
- name: Inflate target directories (2.13.10)
137137
run: |
138138
tar xf targets.tar
139139
rm targets.tar

.mergify.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ pull_request_rules:
1010
- name: merge scala-steward's PRs
1111
conditions:
1212
- author=scala-steward
13-
- status-success=Build and Test (ubuntu-latest, 2.12.16, adopt-hotspot@8)
14-
- status-success=Build and Test (ubuntu-latest, 2.12.16, adopt-hotspot@11)
15-
- status-success=Build and Test (ubuntu-latest, 2.13.8, adopt-hotspot@8)
16-
- status-success=Build and Test (ubuntu-latest, 2.13.8, adopt-hotspot@11)
13+
- status-success=Build and Test (ubuntu-latest, 2.12.17, adopt-hotspot@8)
14+
- status-success=Build and Test (ubuntu-latest, 2.12.17, adopt-hotspot@11)
15+
- status-success=Build and Test (ubuntu-latest, 2.13.10, adopt-hotspot@8)
16+
- status-success=Build and Test (ubuntu-latest, 2.13.10, adopt-hotspot@11)
1717
actions:
1818
merge:
1919
method: squash

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.5.8
1+
version = 3.5.9
22
runner.dialect = scala213
33
assumeStandardLibraryStripMargin = true
44
align.openParenCallSite = false

build.sbt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ val moduleCrossPlatformMatrix: Map[String, List[Platform]] = Map(
2020
"mill-plugin" -> List(JVMPlatform)
2121
)
2222

23-
val Scala212 = "2.12.16"
24-
val Scala213 = "2.13.8"
23+
val Scala212 = "2.12.17"
24+
val Scala213 = "2.13.10"
2525

2626
/// sbt-github-actions configuration
2727

@@ -138,6 +138,11 @@ lazy val core = myCrossProject("core")
138138
// https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.12.6/jackson-core-2.12.6.jar:module-info.class
139139
// https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.12.6.1/jackson-databind-2.12.6.1.jar:module-info.class
140140
MergeStrategy.discard
141+
case PathList("META-INF", "sisu", "javax.inject.Named") =>
142+
// (core / assembly) deduplicate: different file contents found in the following:
143+
// https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/4.5.0/plexus-archiver-4.5.0.jar:META-INF/sisu/javax.inject.Named
144+
// https/repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/3.4.0/plexus-io-3.4.0.jar:META-INF/sisu/javax.inject.Named
145+
MergeStrategy.first
141146
case otherwise =>
142147
val defaultStrategy = (assembly / assemblyMergeStrategy).value
143148
defaultStrategy(otherwise)

docs/help.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
All command line arguments for the `scala-steward` application.
44

55
```
6-
Usage: scala-steward --workspace <file> --repos-file <file> [--git-author-name <string>] --git-author-email <string> [--git-author-signing-key <string>] --git-ask-pass <file> [--sign-commits] [--vcs-type <vcs-type>] [--vcs-api-host <uri>] --vcs-login <string> [--do-not-fork] [--add-labels] [--ignore-opts-files] [--env-var <name=value>]... [--process-timeout <duration>] [--whitelist <string>]... [--read-only <string>]... [--enable-sandbox | --disable-sandbox] [--max-buffer-size <integer>] [--repo-config <uri>]... [--disable-default-repo-config] [--scalafix-migrations <uri>]... [--disable-default-scalafix-migrations] [--artifact-migrations <uri>]... [--disable-default-artifact-migrations] [--cache-ttl <duration>] [--bitbucket-server-use-default-reviewers] [--gitlab-merge-when-pipeline-succeeds] [--gitlab-required-reviewers <integer>] [--github-app-id <integer> --github-app-key-file <file>] [--url-checker-test-url <uri>] [--default-maven-repo <string>] [--refresh-backoff-period <duration>]
6+
Usage:
7+
scala-steward validate-repo-config
8+
scala-steward --workspace <file> --repos-file <file> [--git-author-name <string>] --git-author-email <string> [--git-author-signing-key <string>] --git-ask-pass <file> [--sign-commits] [--vcs-type <vcs-type>] [--vcs-api-host <uri>] --vcs-login <string> [--do-not-fork] [--add-labels] [--ignore-opts-files] [--env-var <name=value>]... [--process-timeout <duration>] [--whitelist <string>]... [--read-only <string>]... [--enable-sandbox | --disable-sandbox] [--max-buffer-size <integer>] [--repo-config <uri>]... [--disable-default-repo-config] [--scalafix-migrations <uri>]... [--disable-default-scalafix-migrations] [--artifact-migrations <uri>]... [--disable-default-artifact-migrations] [--cache-ttl <duration>] [--bitbucket-server-use-default-reviewers] [--gitlab-merge-when-pipeline-succeeds] [--gitlab-required-reviewers <integer>] [--github-app-id <integer> --github-app-key-file <file>] [--url-checker-test-url <uri>] [--default-maven-repo <string>] [--refresh-backoff-period <duration>]
79
810
911
@@ -70,6 +72,7 @@ Options and flags:
7072
Whether to merge a gitlab merge request when the pipeline succeeds
7173
--gitlab-required-reviewers <integer>
7274
When set, the number of required reviewers for a merge request will be set to this number (non-negative integer). Is only used in the context of gitlab-merge-when-pipeline-succeeds being enabled, and requires that the configured access token have the appropriate privileges.
75+
--gitlab-required-reviewers <integer>
7376
--github-app-id <integer>
7477
GitHub application id
7578
--github-app-key-file <file>
@@ -80,4 +83,8 @@ Options and flags:
8083
default: https://repo1.maven.org/maven2/
8184
--refresh-backoff-period <duration>
8285
Period of time a failed build won't be triggered again; default: 0days
86+
87+
Subcommands:
88+
validate-repo-config
89+
Validate the repo config file and exit; report errors if any
8390
```

modules/core/src/main/resources/artifact-migrations.v2.conf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,5 +473,20 @@ changes = [
473473
groupIdAfter = io.janstenpickle
474474
artifactIdBefore = trace4cats-dynamic-sampling
475475
artifactIdAfter = trace4cats-core
476+
},
477+
{
478+
groupIdBefore = com.free2move
479+
groupIdAfter = org.gnieh
480+
artifactIdAfter = geo-scala-core
481+
},
482+
{
483+
groupIdBefore = com.free2move
484+
groupIdAfter = org.gnieh
485+
artifactIdAfter = geo-scala-circe
486+
},
487+
{
488+
groupIdBefore = com.free2move
489+
groupIdAfter = org.gnieh
490+
artifactIdAfter = geo-scala-polyline
476491
}
477492
]

0 commit comments

Comments
 (0)