File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -2,26 +2,30 @@ name: Scala CI
22
33on :
44 push :
5- branchs :
5+ branches :
66 - master
77 - develop
88 pull_request :
9- branchs :
9+ branches :
1010 - master
1111 - develop
1212
1313jobs :
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
You can’t perform that action at this time.
0 commit comments