Skip to content

Commit 5136bdd

Browse files
committed
try to fix broken ci.
1 parent a08a147 commit 5136bdd

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/scala.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,30 @@ name: Scala CI
22

33
on:
44
push:
5-
branchs:
5+
branches:
66
- master
77
- develop
88
pull_request:
9-
branchs:
9+
branches:
1010
- master
1111
- develop
1212

1313
jobs:
1414
test:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-java@v4
19+
with:
20+
distribution: 'adopt'
21+
java-version: '21'
22+
- name: Install sbt
23+
uses: sbt/setup-sbt@v1
1824
- name: Run tests
19-
run: sbt coverage test
20-
- name: Coverage Report
21-
run: sbt coverageReport
22-
- name: Upload coverage to Codecov
23-
uses: codecov/codecov-action@v1
25+
run: sbt coverage test coverageReport
26+
- uses: codecov/codecov-action@v4
2427
with:
2528
fail_ci_if_error: true
29+
token: ${{ secrets.CODECOV_TOKEN }}
2630
- name: Format check
2731
run: sbt scalastyle

0 commit comments

Comments
 (0)