Skip to content

Commit 815c53b

Browse files
authored
Merge pull request #170 from Atry/update/template
Update template
2 parents 5a95b05 + 130f227 commit 815c53b

File tree

6 files changed

+36
-21
lines changed

6 files changed

+36
-21
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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 aws-actions/configure-aws-credentials to assume an AWS role
15+
id-token: write
16+
# for peter-evans/create-pull-request to create branch
17+
contents: write
18+
# for peter-evans/create-pull-request to create a PR
19+
pull-requests: write
20+
runs-on: ubuntu-22.04
21+
steps:
22+
- uses: actions/checkout@v3
23+
- run: git fetch https://github.com/Atry/scala-project-template.git template
24+
- run: git reset --hard FETCH_HEAD
25+
- uses: peter-evans/create-pull-request@v5
26+
with:
27+
delete-branch: true
28+
base: ${{github.ref_name}}
29+
branch: update/${{github.ref_name}}/scala-project-template
30+
title: Update scala-project-template
31+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}

.gitpod.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
runner.dialect = scala3
2-
version = "3.7.4"
2+
version = "3.7.5"
33
maxColumn = 80

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.8.2
1+
sbt.version=1.9.1

project/plugins.sbt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
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.21")
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-
151
addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.21.1")
162

173
libraryDependencies += "net.sourceforge.htmlunit" % "htmlunit" % "2.70.0"

project/sbt-best-practice.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
addSbtPlugin(
2+
"com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.3.0"
3+
)

0 commit comments

Comments
 (0)