Skip to content

Commit 8c368cc

Browse files
committed
Validate scala-steward configuration
1 parent 7f77121 commit 8c368cc

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,3 +267,28 @@ jobs:
267267
with:
268268
modules-ignore: diffsonjvm_2.12 diffsonjvm_2.13 diffsonjvm_3 diffsonjs_2.12 diffsonjs_2.13 diffsonjs_3 diffson-benchmarks_2.12 diffson-benchmarks_2.13 diffson-benchmarks_3 diffsonnative_2.12 diffsonnative_2.13 diffsonnative_3
269269
configs-ignore: test scala-tool scala-doc-tool test-internal
270+
271+
validate-steward:
272+
name: Validate Steward Config
273+
strategy:
274+
matrix:
275+
os: [ubuntu-latest]
276+
java: [temurin@11]
277+
runs-on: ${{ matrix.os }}
278+
steps:
279+
- name: Checkout current branch (fast)
280+
uses: actions/checkout@v4
281+
282+
- name: Setup Java (temurin@11)
283+
id: setup-java-temurin-11
284+
if: matrix.java == 'temurin@11'
285+
uses: actions/setup-java@v4
286+
with:
287+
distribution: temurin
288+
java-version: 11
289+
290+
- uses: coursier/setup-action@v1
291+
with:
292+
apps: scala-steward
293+
294+
- run: scala-steward validate-repo-config .scala-steward.conf

0 commit comments

Comments
 (0)