File tree Expand file tree Collapse file tree 7 files changed +37
-22
lines changed Expand file tree Collapse file tree 7 files changed +37
-22
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches-ignore :
4+ - " update/**"
5+ schedule :
6+ - cron : " 0 0 * * 0"
7+ workflow_dispatch :
8+
9+ name : Update Scala project template
10+
11+ jobs :
12+ update-scala-project-template :
13+ permissions :
14+ # for peter-evans/create-pull-request to create branch
15+ contents : write
16+ # for peter-evans/create-pull-request to create a PR
17+ pull-requests : write
18+ runs-on : ubuntu-22.04
19+ steps :
20+ - uses : actions/checkout@v3
21+ - run : git fetch https://github.com/Atry/scala-project-template.git template
22+ - run : git reset --hard FETCH_HEAD
23+ - uses : peter-evans/create-pull-request@v5
24+ continue-on-error : true
25+ with :
26+ delete-branch : true
27+ base : ${{github.ref_name}}
28+ branch : update/${{github.ref_name}}/scala-project-template
29+ title : Update scala-project-template
30+ token : ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
Original file line number Diff line number Diff line change 3232 with :
3333 java-version : " 11"
3434 distribution : temurin
35+ - uses : sbt/setup-sbt@v1
3536 - name : Cache SBT
3637 uses : actions/cache@v3
3738 with :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- runner.dialect = scala3
2- version = "3.7.2 "
1+ runner.dialect = scala212source3
2+ version = "3.8.3 "
33maxColumn = 80
Original file line number Diff line number Diff line change 1- sbt.version =1.8.2
1+ sbt.version =1.10.7
Original file line number Diff line number Diff line change 1- addSbtPlugin(
2- " com.thoughtworks.sbt-best-practice" % " sbt-best-practice" % " 8.3.0"
3- )
4-
5- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.17" )
6-
7- addSbtPlugin(" com.dwijnand" % " sbt-dynver" % " 4.1.1" )
8-
9- addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.2.1" )
10-
11- addSbtPlugin(" org.lyranthe.sbt" % " partial-unification" % " 1.1.2" )
12-
13- addSbtPlugin(" com.thoughtworks.example" % " sbt-example" % " 9.3.0" )
14-
151addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.13.0" )
162
173addSbtPlugin(" com.thoughtworks.sbt-scala-js-map" % " sbt-scala-js-map" % " 4.1.1" )
Original file line number Diff line number Diff line change 1+ addSbtPlugin(
2+ " com.thoughtworks.sbt-best-practice" % " sbt-best-practice" % " 8.3.1"
3+ )
You can’t perform that action at this time.
0 commit comments