Skip to content

Commit 1aebaae

Browse files
committed
Fix git ownersip that prevented tags fetch from the inside of a containers; upd SBT plugins
1 parent 68d6cf2 commit 1aebaae

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
- uses: actions/checkout@v3
2424
with:
2525
fetch-depth: 0
26+
# https://github.com/actions/runner/issues/2033
27+
- name: Set ownership
28+
run: |
29+
# this is to fix GIT not liking owner of the checkout dir
30+
chown -R $(id -u):$(id -g) $PWD
31+
2632
- uses: coursier/cache-action@v6
2733

2834
- name: Check formatting
@@ -89,6 +95,12 @@ jobs:
8995
- uses: actions/checkout@v3
9096
with:
9197
fetch-depth: 0
98+
# https://github.com/actions/runner/issues/2033
99+
- name: Set ownership
100+
run: |
101+
# this is to fix GIT not liking owner of the checkout dir
102+
chown -R $(id -u):$(id -g) $PWD
103+
92104
- uses: coursier/cache-action@v6
93105

94106
- uses: actions/download-artifact@v3

project/plugins.sbt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
addSbtPlugin("com.github.sbt" % "sbt-jni" % "1.5.3")
2-
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.5.3")
3-
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0")
4-
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7")
5-
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3")
1+
addSbtPlugin("com.github.sbt" % "sbt-jni" % "1.5.4")
2+
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.3")
3+
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.9.0")
4+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.11")
5+
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")

0 commit comments

Comments
 (0)