File tree Expand file tree Collapse file tree 1 file changed +19
-16
lines changed
Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Original file line number Diff line number Diff line change 1- name : Scala Build and Test CI
1+ name : Run Tests
22on : push
33
44jobs :
5- build :
6- runs-on : ubuntu-latest
7- steps :
8- - uses : actions/checkout@v2
9- - name : run compile
10- run : sbt compile
115 test :
126 runs-on : ubuntu-latest
137 steps :
14- - uses : actions/checkout@v2
15- - name : run tests
16- run : sbt test
17- lint :
18- runs-on : ubuntu-latest
19- steps :
20- - uses : actions/checkout@v2
21- - name : Formatting
22- run : sbt scalafmtSbtCheck scalafmtCheck
8+ - uses : actions/checkout@v2
9+ - name : Cache SBT ivy cache
10+ uses : actions/cache@v1
11+ with :
12+ path : ~/.ivy2/cache
13+ key : ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}
14+ - name : Cache SBT
15+ uses : actions/cache@v1
16+ with :
17+ path : ~/.sbt
18+ key : ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
19+ - name : Run tests
20+ run : sbt test
21+ env :
22+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
23+ GITHUB_TOKEN : ${{ secrets.PUBLIC_GITHUB_TOKEN }}
24+
25+
You can’t perform that action at this time.
0 commit comments