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

Cole-Greer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.7-dev by this push:
     new d5bcb01691 CTR Fix GHA following ubuntu-26 release (#3730)
d5bcb01691 is described below

commit d5bcb0169116edce0477789ec23e3880e7c87cb2
Author: Cole Greer <[email protected]>
AuthorDate: Wed Oct 21 23:06:13 2026 -0700

    CTR Fix GHA following ubuntu-26 release (#3730)
    
    Converts the GHA runners from ubuntu-latest to ubuntu-26 such that we have 
fine-grained control and target a separate queue from the majority of apache 
projects. Note that python is pinned to ubuntu-24 due to lack of python 3.9 
support.
---
 .github/workflows/build-test.yml | 41 ++++++++++++++++++++++------------------
 .github/workflows/codeql.yml     | 14 +++++++++++---
 2 files changed, 34 insertions(+), 21 deletions(-)

diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index 625245a615..c88306bcac 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -7,7 +7,7 @@ jobs:
   smoke:
     name: smoke
     timeout-minutes: 10
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -21,7 +21,7 @@ jobs:
     name: mvn clean install - jdk17
     timeout-minutes: 45
     needs: smoke
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 17
@@ -35,7 +35,7 @@ jobs:
     name: mvn clean install - jdk11
     timeout-minutes: 45
     needs: smoke
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -53,7 +53,7 @@ jobs:
     name: mvn clean install - jdk8
     timeout-minutes: 45
     needs: smoke
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 8
@@ -67,7 +67,7 @@ jobs:
     name: gremlin-server default
     timeout-minutes: 45
     needs: smoke
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -83,7 +83,7 @@ jobs:
     name: gremlin-server unified
     timeout-minutes: 45
     needs: smoke
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -99,7 +99,7 @@ jobs:
       name: cache gremlin-server docker image
       timeout-minutes: 10
       needs: smoke
-      runs-on: ubuntu-latest
+      runs-on: ubuntu-26.04
       steps:
         - uses: actions/checkout@v7
         - name: Set up JDK 11
@@ -132,7 +132,7 @@ jobs:
     name: hadoop standard
     timeout-minutes: 45
     needs: smoke
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -148,7 +148,7 @@ jobs:
     name: hadoop feature
     timeout-minutes: 45
     needs: smoke
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -167,7 +167,7 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [ubuntu-latest, windows-latest]
+        os: [ubuntu-26.04, windows-latest]
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -191,7 +191,7 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [ubuntu-latest, windows-latest]
+        os: [ubuntu-26.04, windows-latest]
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -212,7 +212,7 @@ jobs:
     name: gremlin-console
     timeout-minutes: 20
     needs: smoke
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -229,7 +229,7 @@ jobs:
     name: gremlin-driver
     timeout-minutes: 20
     needs: cache-gremlin-server-docker-image
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK 11
@@ -245,7 +245,7 @@ jobs:
     name: javascript-glv-node${{ matrix.node-version }}
     timeout-minutes: 15
     needs: cache-gremlin-server-docker-image
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     strategy:
       fail-fast: false
       matrix:
@@ -276,7 +276,7 @@ jobs:
     name: python-${{ matrix.python-version }}
     timeout-minutes: 20
     needs: cache-gremlin-server-docker-image
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04
     strategy:
       fail-fast: false
       matrix:
@@ -303,7 +303,7 @@ jobs:
     name: .NET
     timeout-minutes: 20
     needs: cache-gremlin-server-docker-image
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK11
@@ -336,7 +336,7 @@ jobs:
     name: neo4j-gremlin
     timeout-minutes: 20
     needs: smoke
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - uses: actions/checkout@v7
       - name: Set up JDK11
@@ -352,10 +352,15 @@ jobs:
     name: go
     timeout-minutes: 20
     needs: cache-gremlin-server-docker-image
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     steps:
       - name: Checkout
         uses: actions/checkout@v7
+      - name: Set up JDK 11
+        uses: actions/setup-java@v6
+        with:
+          java-version: '11'
+          distribution: 'temurin'
       - name: Setup Go
         uses: actions/setup-go@v7
         with:
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 4fccebdf3e..1e1c18f096 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -16,7 +16,7 @@ concurrency:
 jobs:
   analyze:
     name: Analyze
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     permissions:
       actions: read
       contents: read
@@ -71,7 +71,7 @@ jobs:
   # .Net is run as a separate job as the integration tests take far too long 
to build
   analyze_dotnet:
     name: Analyze .Net
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     permissions:
       actions: read
       contents: read
@@ -105,7 +105,7 @@ jobs:
   # Java is run as a separate job as the autobuild for Java is prone to random 
timeout failures
   analyze_java:
     name: Analyze Java
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-26.04
     permissions:
       actions: read
       contents: read
@@ -115,6 +115,14 @@ jobs:
       - name: Checkout repository
         uses: actions/checkout@v7
 
+      # Pin the JDK before CodeQL init so the build is traced with a 
TinkerPop-supported version rather than the
+      # runner default, which is newer than the build supports.
+      - name: Set up JDK 11
+        uses: actions/setup-java@v6
+        with:
+          java-version: '11'
+          distribution: 'temurin'
+
       # Initializes the CodeQL tools for scanning.
       - name: Initialize CodeQL
         uses: github/codeql-action/[email protected]

Reply via email to