Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5aba73d
Update sbt-sonatype to 3.9.17 in template (#39)
github-actions[bot] Jan 30, 2023
d72c5e9
Merge branch 'ThoughtWorksInc:template' into template
Atry Jan 30, 2023
fc08ba2
Update and rename plugins.sbt to sbt-best-practice.sbt
Atry Feb 14, 2023
0ff30d8
Update scalafmt-core to 3.7.1 in template (#16)
github-actions[bot] Jul 1, 2023
9ec37b4
Merge branch 'template' of https://github.com/thoughtworksinc/scala-p…
Atry Jul 1, 2023
dc8b239
Merge branch 'template' of github.com:Atry/scala-project-template int…
Atry Jul 1, 2023
421e174
Update scalafmt-core to 3.7.5 in template (#22)
github-actions[bot] Jul 1, 2023
4614ec7
Update sbt to 1.8.3 in template (#21)
github-actions[bot] Jul 1, 2023
08fb755
Add GitHub Action to pull scala-project-template
Atry Jul 1, 2023
fa38523
Update sbt to 1.9.1 in template (#24)
github-actions[bot] Jul 1, 2023
744999e
Update scala-project-template.yml
Atry Jul 1, 2023
418b18d
Update scala-project-template.yml
Atry Jul 1, 2023
c31f513
Update scala-project-template.yml
Atry Jul 1, 2023
885406c
Delete .gitpod.yml
Atry Jul 1, 2023
a335404
Update scala-project-template.yml
Atry Jul 1, 2023
d6d207c
Update scala-project-template.yml
Atry Jul 2, 2023
503bd68
Update scala-project-template.yml
Atry Jul 2, 2023
a147645
Add sbt/setup-sbt GitHub Actions
Atry Dec 28, 2024
4af80a5
Upgrade default Scala version to 2.12.20
Atry Dec 28, 2024
6edea83
Update scalafmt-core to 3.7.17 in template (#27)
github-actions[bot] Dec 28, 2024
3717822
Update sbt-best-practice to 8.3.1 in template (#25)
github-actions[bot] Dec 28, 2024
47ecb1e
Update sbt, scripted-plugin to 1.9.9 in template (#26)
github-actions[bot] Dec 28, 2024
0745c0c
Update scalafmt-core to 3.8.3 in template (#29)
github-actions[bot] Dec 30, 2024
6a6c858
Update sbt, scripted-plugin to 1.10.7 in template (#28)
github-actions[bot] Dec 30, 2024
e9a0525
Merge commit '3fbc61b3ec6cdc58e7f2b7b1c3a716f18d16abc8' into update/t…
Atry Mar 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/scala-project-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches-ignore:
- "update/**"
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:

name: Update Scala project template

jobs:
update-scala-project-template:
permissions:
# for peter-evans/create-pull-request to create branch
contents: write
# for peter-evans/create-pull-request to create a PR
pull-requests: write
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: git fetch https://github.com/Atry/scala-project-template.git template
- run: git reset --hard FETCH_HEAD
- uses: peter-evans/create-pull-request@v5
continue-on-error: true
with:
delete-branch: true
base: ${{github.ref_name}}
branch: update/${{github.ref_name}}/scala-project-template
title: Update scala-project-template
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
1 change: 1 addition & 0 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
with:
java-version: "11"
distribution: temurin
- uses: sbt/setup-sbt@v1
- name: Cache SBT
uses: actions/cache@v3
with:
Expand Down
5 changes: 0 additions & 5 deletions .gitpod.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
runner.dialect = scala3
version = "3.7.2"
runner.dialect = scala212source3
version = "3.8.3"
maxColumn = 80
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.8.2
sbt.version=1.10.7
14 changes: 0 additions & 14 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
addSbtPlugin(
"com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.3.0"
)

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.17")

addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")

addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1")

addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.1.2")

addSbtPlugin("com.thoughtworks.example" % "sbt-example" % "9.3.0")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.0")

addSbtPlugin("com.thoughtworks.sbt-scala-js-map" % "sbt-scala-js-map" % "4.1.1")
Expand Down
3 changes: 3 additions & 0 deletions project/sbt-best-practice.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
addSbtPlugin(
"com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.3.1"
)
Loading