Skip to content

Commit

Permalink
Merge pull request #220 from Atry/update/template
Browse files Browse the repository at this point in the history
Update template
  • Loading branch information
Atry committed Jul 2, 2023
2 parents c569d39 + d5af567 commit e37d8d9
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 17 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/scala-project-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches-ignore:
- "update/**"
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:

name: Update Scala project template

jobs:
update-scala-project-template:
permissions:
# for aws-actions/configure-aws-credentials to assume an AWS role
id-token: write
# 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
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 }}
5 changes: 0 additions & 5 deletions .gitpod.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
runner.dialect = scala212source3
version = "3.7.1"
version = "3.7.5"
maxColumn = 80
xmlLiterals.assumeFormatted = true
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.9.1
10 changes: 0 additions & 10 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
addSbtPlugin(
"com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "8.2.5"
)

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

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

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

addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.2.0")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2")
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.0"
)

0 comments on commit e37d8d9

Please sign in to comment.