You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2026/07/13 13:12:46 UTC

(pekko-sbt-paradox) branch ci created (now 1cef563)

This is an automated email from the ASF dual-hosted git repository.

pjfanning pushed a change to branch ci
in repository https://gitbox.apache.org/repos/asf/pekko-sbt-paradox.git


      at 1cef563  ci: fix build problems

This branch includes the following new commits:

     new 1cef563  ci: fix build problems

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org


(pekko-sbt-paradox) 01/01: ci: fix build problems

Posted by fa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pjfanning pushed a commit to branch ci
in repository https://gitbox.apache.org/repos/asf/pekko-sbt-paradox.git

commit 1cef56368bb815b7df1480321659b41cb6936946
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Mon Jul 13 14:12:33 2026 +0100

    ci: fix build problems
---
 .github/workflows/ci.yml     | 32 ++++++--------------------------
 .github/workflows/format.yml |  4 ++--
 .scala-steward.conf          |  4 ++--
 build.sbt                    |  4 ++++
 project/build.properties     |  2 +-
 project/plugins.sbt          |  2 +-
 6 files changed, 16 insertions(+), 32 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0055c4c..b58369f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,9 +1,5 @@
-# This file was automatically generated by sbt-github-actions using the
-# githubWorkflowGenerate task. You should add and commit this file to
-# your git repository. It goes without saying that you shouldn't edit
-# this file by hand! Instead, if you wish to make changes, you should
-# change your sbt build configuration to revise the workflow description
-# to meet your needs, then regenerate this file.
+# Originally generated by sbt-github-actions plugin, but heavily modified to work
+# around ASF policies on action versions
 
 name: Continuous Integration
 
@@ -32,16 +28,8 @@ jobs:
         shell: bash
         run: git config --global core.autocrlf false
 
-      - name: Configure pagefile for Windows
-        if: contains(runner.os, 'windows')
-        uses: al-cheb/configure-pagefile-action@v1.5
-        with:
-          minimum-size: 2GB
-          maximum-size: 8GB
-          disk-root: 'C:'
-
       - name: Checkout current branch (full)
-        uses: actions/checkout@v7
+        uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
         with:
           fetch-depth: 0
 
@@ -54,7 +42,7 @@ jobs:
           cache: sbt
 
       - name: Setup sbt
-        uses: sbt/setup-sbt@v1
+        uses: sbt/setup-sbt@66fb4376e81982c7d92a4074170846fff88e2e30 # v1.5.0
 
       - name: Check that workflows are up to date
         shell: bash
@@ -88,16 +76,8 @@ jobs:
         if: contains(runner.os, 'windows')
         run: git config --global core.autocrlf false
 
-      - name: Configure pagefile for Windows
-        if: contains(runner.os, 'windows')
-        uses: al-cheb/configure-pagefile-action@v1.5
-        with:
-          minimum-size: 2GB
-          maximum-size: 8GB
-          disk-root: 'C:'
-
       - name: Checkout current branch (full)
-        uses: actions/checkout@v7
+        uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
         with:
           fetch-depth: 0
 
@@ -110,7 +90,7 @@ jobs:
           cache: sbt
 
       - name: Setup sbt
-        uses: sbt/setup-sbt@v1
+        uses: sbt/setup-sbt@66fb4376e81982c7d92a4074170846fff88e2e30 # v1.5.0
 
       - name: Download target directories (2.12.21)
         uses: actions/download-artifact@v8
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 9a21f0f..f4cef29 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -12,12 +12,12 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout current branch (full)
-        uses: actions/checkout@v4
+        uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
         with:
           fetch-depth: 0
           persist-credentials: false
 
       - name: Check project is formatted
-        uses: jrouly/scalafmt-native-action@v3
+        uses: jrouly/scalafmt-native-action@a9c8e1032a02004c425d53ef8ce420fe2179eba7 # v5
         with:
           arguments: '--list --mode diff-ref=origin/main'
diff --git a/.scala-steward.conf b/.scala-steward.conf
index b76212a..4aeef2b 100644
--- a/.scala-steward.conf
+++ b/.scala-steward.conf
@@ -1,5 +1,5 @@
 updates.pin = [
   { groupId = "org.scala-lang", artifactId = "scala-library", version = "2.12." }
-  { groupId = "com.lightbend.paradox", artifactId = "sbt-paradox", version = "0.9." }
-  { groupId = "com.lightbend.paradox", artifactId = "sbt-paradox-theme", version = "0.9." }
+  # we have too many build plugins that need sbt 1.x
+  { groupId = "org.scala-sbt", artifactId = "sbt", version = "1." }
 ]
diff --git a/build.sbt b/build.sbt
index 6bfd0ec..8acf417 100644
--- a/build.sbt
+++ b/build.sbt
@@ -86,6 +86,9 @@ lazy val pekkoPlugin = project
       Seq(file)
     }).settings(publishSettings)
 
+// Disable sbt-github-actions due to broken builds
+// ASF policies on action versions is too strict for this plugin to work
+/*
 ThisBuild / githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("test", "scripted")))
 
 ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
@@ -104,6 +107,7 @@ ThisBuild / githubWorkflowOSes := Seq("ubuntu-latest", "windows-latest")
 
 ThisBuild / githubWorkflowJavaVersions := Seq(
   JavaSpec.temurin("8"))
+*/
 
 ThisBuild / scalacOptions ++= List(
   "-unchecked",
diff --git a/project/build.properties b/project/build.properties
index 312809a..7c95fc1 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -1 +1 @@
-sbt.version=2.0.1
+sbt.version=1.12.13
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 707a6ac..374c48d 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -25,4 +25,4 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.6.1")
 addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.12")
 addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.13")
 addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.35")
-addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.31.0")
+// addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.31.0")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org