You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by en...@apache.org on 2024/10/14 10:00:39 UTC

(pekko-http) branch main updated: CI: install sbt (#619)

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

engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-http.git


The following commit(s) were added to refs/heads/main by this push:
     new 1b1a96051 CI: install sbt (#619)
1b1a96051 is described below

commit 1b1a9605158459425c1ab33e91a800e8a18b56b6
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Mon Oct 14 11:00:35 2024 +0100

    CI: install sbt (#619)
    
    * CI: install sbt
    
    more changes
    
    * Update dependency-graph.yml
---
 .github/workflows/dependency-graph.yml      | 3 +++
 .github/workflows/headers.yml               | 5 ++++-
 .github/workflows/link-validator.yml        | 5 ++++-
 .github/workflows/nightly.yml               | 3 +++
 .github/workflows/publish-1.0-docs.yml      | 3 +++
 .github/workflows/publish-1.0-snapshots.yml | 3 +++
 .github/workflows/publish-1.1-docs.yml      | 3 +++
 .github/workflows/publish.yml               | 6 ++++++
 .github/workflows/validate-and-test.yml     | 6 ++++++
 9 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/dependency-graph.yml b/.github/workflows/dependency-graph.yml
index 94eec143c..6d9229573 100644
--- a/.github/workflows/dependency-graph.yml
+++ b/.github/workflows/dependency-graph.yml
@@ -7,8 +7,11 @@ jobs:
   dependency-graph:
     name: Update Dependency Graph
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/pekko-http'    
     steps:
       - uses: actions/checkout@v4
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1      
       - uses: scalacenter/sbt-dependency-submission@v2
         with:
           modules-ignore: pekko-http-tests_3 pekko-http-docs_3
diff --git a/.github/workflows/headers.yml b/.github/workflows/headers.yml
index 6e39d6612..742da37d3 100644
--- a/.github/workflows/headers.yml
+++ b/.github/workflows/headers.yml
@@ -8,7 +8,7 @@ permissions: {}
 jobs:
   check-headers:
     name: Check headers
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     steps:
       - name: Checkout
         uses: actions/checkout@v4
@@ -19,6 +19,9 @@ jobs:
           distribution: temurin
           java-version: 8
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1
+
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml
index 35cc40226..990fe0acb 100644
--- a/.github/workflows/link-validator.yml
+++ b/.github/workflows/link-validator.yml
@@ -10,7 +10,7 @@ on:
 
 jobs:
   validate-links:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     if: github.repository == 'apache/pekko-http'
     steps:
       - name: Checkout
@@ -29,6 +29,9 @@ jobs:
           distribution: temurin
           java-version: 8
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1          
+
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 033952a50..a47574e47 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -29,6 +29,9 @@ jobs:
           distribution: temurin
           java-version: ${{ matrix.JDK }}
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1          
+
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
diff --git a/.github/workflows/publish-1.0-docs.yml b/.github/workflows/publish-1.0-docs.yml
index 6f207e8c6..85ec05584 100644
--- a/.github/workflows/publish-1.0-docs.yml
+++ b/.github/workflows/publish-1.0-docs.yml
@@ -39,6 +39,9 @@ jobs:
           distribution: temurin
           java-version: 8
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1
+
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
diff --git a/.github/workflows/publish-1.0-snapshots.yml b/.github/workflows/publish-1.0-snapshots.yml
index 7db6aeb37..29d498e0b 100644
--- a/.github/workflows/publish-1.0-snapshots.yml
+++ b/.github/workflows/publish-1.0-snapshots.yml
@@ -24,6 +24,9 @@ jobs:
           distribution: temurin
           java-version: 8
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1
+
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
diff --git a/.github/workflows/publish-1.1-docs.yml b/.github/workflows/publish-1.1-docs.yml
index cf8bac87c..210331aed 100644
--- a/.github/workflows/publish-1.1-docs.yml
+++ b/.github/workflows/publish-1.1-docs.yml
@@ -38,6 +38,9 @@ jobs:
           distribution: temurin
           java-version: 8
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1
+
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index dfdd0294a..3b28a64bb 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -23,6 +23,9 @@ jobs:
           distribution: temurin
           java-version: 8
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1
+
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
@@ -53,6 +56,9 @@ jobs:
           distribution: temurin
           java-version: 8
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1
+
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
diff --git a/.github/workflows/validate-and-test.yml b/.github/workflows/validate-and-test.yml
index 9cdc44c0c..bcd2fcebb 100644
--- a/.github/workflows/validate-and-test.yml
+++ b/.github/workflows/validate-and-test.yml
@@ -29,6 +29,9 @@ jobs:
           distribution: temurin
           java-version: 8
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1
+
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 
@@ -74,6 +77,9 @@ jobs:
           distribution: temurin
           java-version: ${{ matrix.JDK }}
 
+      - name: Install sbt
+        uses: sbt/setup-sbt@v1
+  
       - name: Cache Coursier cache
         uses: coursier/cache-action@v6
 


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