Skip to content

Commit 78adee2

Browse files
committed
run sbt conflictingOverridesCheck as part of GH actions workflow
1 parent 9dd8f28 commit 78adee2

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/scala.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,28 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
22-
- name: Set up JDK 17
21+
- uses: actions/checkout@v4
22+
with:
23+
persist-credentials: false
24+
- name: Set up JDK 21
2325
uses: actions/setup-java@v4
2426
with:
25-
java-version: '17'
27+
java-version: '21'
2628
distribution: 'temurin'
2729
cache: 'sbt'
2830
- uses: sbt/setup-sbt@v1
2931
- name: Run tests
3032
run: sbt test
3133
- name: Generate locale files
3234
run: sbt generateLocales
35+
- name: Check for new conflicting RUL2 overrides
36+
run: SBT_OPTS="-Xmx2G" sbt conflictingOverridesCheck
3337

3438
lint:
3539
runs-on: ubuntu-latest
3640
steps:
37-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
42+
with:
43+
persist-credentials: false
3844
- name: Check RUL2 syntax
3945
run: sh src/scripts/syntax-check-rul2.sh

0 commit comments

Comments
 (0)