Skip to content

Commit 0a80b7a

Browse files
committed
Build: Fix github actions
1 parent ed84cbb commit 0a80b7a

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,24 @@ jobs:
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v3
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: "22"
23+
# cache: "npm"
24+
- name: Install Node.js test dependencies
25+
run: npm install
1926
- name: Setup JVM
2027
uses: actions/setup-java@v3
2128
with:
22-
java-version: '11'
29+
java-version: '17'
2330
distribution: 'adopt'
31+
- name: Setup SBT
32+
uses: sbt/setup-sbt@v1
2433
- name: Tests
2534
run: sbt +test
35+
# - name: Code formatting check
36+
# run: sbt scalafmtCheckAll
2637
- name: Release
2738
run: sbt ci-release
2839
env:

.github/workflows/test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,18 @@ jobs:
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: "18"
21+
node-version: "22"
22+
# cache: "npm"
23+
- name: Install Node.js test dependencies
24+
run: npm install
2225
- name: Setup JVM
2326
uses: actions/setup-java@v3
2427
with:
25-
java-version: '11'
28+
java-version: '17'
2629
distribution: 'adopt'
30+
- name: Setup SBT
31+
uses: sbt/setup-sbt@v1
2732
- name: Run tests
2833
run: sbt +test
34+
# - name: Code formatting check
35+
# run: sbt scalafmtCheckAll

0 commit comments

Comments
 (0)