Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Launch Scala Steward
uses: scala-steward-org/scala-steward-action@v2.92.0
with:
# Pin Scala Steward itself. The action otherwise downloads the latest
# published version on every run; 0.39.1 dropped the Java 11 build and
# requires Java 17+, which breaks the temurin:11 runner above. Renovate
# tracks this pin; a bump past 0.39.0 fails on first run until the
# runner is moved to JDK 17.
scala-steward-version: 0.39.0
# Pin the sbt and scalafmt versions Scala Steward runs against to the
# ones used in this repository. Kept in sync by Renovate.
sbt-version: 1.12.13
Expand Down
13 changes: 13 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"managerFilePatterns": ["/^\\.github/workflows/.*\\.ya?ml$/"],
"matchStrings": ["scala-steward-version: (?<currentValue>\\S+)"],
"depNameTemplate": "scala-steward-org/scala-steward",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"managerFilePatterns": ["/^project/build\\.properties$/"],
Expand Down Expand Up @@ -56,6 +64,11 @@
{
"matchPackageNames": ["scalameta/scalafmt"],
"groupName": "scalafmt"
},
{
"description": "Pinned to 0.39.0, the last Java 11 build; 0.39.1+ requires Java 17+ and will fail on the temurin:11 runner in scala-steward.yml. Bump PRs are intentionally left uncapped: a bump beyond 0.39.0 fails first run and is resolved by moving the runner to JDK 17.",
"matchPackageNames": ["scala-steward-org/scala-steward"],
"groupName": "scala-steward"
}
]
}