Skip to content

Commit def8e50

Browse files
authored
pin scala3 on LTS line (#67)
* pin scala3 on LTS line * Generate validate scala-steward gha
1 parent da9ef2d commit def8e50

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,3 +241,28 @@ jobs:
241241
uses: scalacenter/sbt-dependency-submission@v2
242242
with:
243243
configs-ignore: test scala-tool scala-doc-tool test-internal
244+
245+
validate-steward:
246+
name: Validate Steward Config
247+
strategy:
248+
matrix:
249+
os: [ubuntu-latest]
250+
java: [temurin@11]
251+
runs-on: ${{ matrix.os }}
252+
steps:
253+
- name: Checkout current branch (fast)
254+
uses: actions/checkout@v4
255+
256+
- name: Setup Java (temurin@11)
257+
id: setup-java-temurin-11
258+
if: matrix.java == 'temurin@11'
259+
uses: actions/setup-java@v4
260+
with:
261+
distribution: temurin
262+
java-version: 11
263+
264+
- uses: coursier/setup-action@v1
265+
with:
266+
apps: scala-steward
267+
268+
- run: scala-steward validate-repo-config .scala-steward.conf

.scala-steward.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
updates.pin = [
2+
{ groupId = "org.scala-lang", artifactId="scala3-library", version = "3.3." } # stay on LTS
3+
]

0 commit comments

Comments
 (0)