Unify ubuntu base image version across workflows (#77)

This commit is contained in:
Wilhelm Schuster
2026-11-23 09:30:13 -05:00
committed by GitHub
parent 609a5cfa39
commit 6e85640042
8 changed files with 18 additions and 18 deletions
@@ -1,7 +1,7 @@
name: Test integration in latest daily
# Note: this reusable workflow must called from a context that is triggered by a "Build and test" run (which then propagates the event)
# That context requires workflow_run, which runs in the context of the default branch,
# That context requires workflow_run, which runs in the context of the default branch,
# therefore we use the statuses api to place it on the source commit manually here
on:
workflow_call:
@@ -23,7 +23,7 @@ env:
jobs:
get-pr-url:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
# Run on ANY pull_request build completion. We branch on conclusion below
if: github.event.workflow_run.event == 'pull_request'
outputs:
@@ -70,7 +70,7 @@ jobs:
# Real test work runs ONLY on a successful build
if: needs.get-pr-url.outputs.conclusion == 'success'
name: Test in latest daily
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
container:
image: ghcr.io/malteeez/gtnh-daily:latest
env:
@@ -84,7 +84,7 @@ jobs:
with:
repository: GTNewHorizons/GTNH-Actions-Workflows
ref: ${{ job.workflow_sha }}
sparse-checkout:
sparse-checkout:
scripts/
path: .gtnh-workflows
fetch-depth: 0
@@ -120,7 +120,7 @@ jobs:
# Post a terminal status for every pull_request build, independent of get-pr-url's
# result, so a superseding run always clears a stale pending on the source commit
if: always() && github.event.workflow_run.event == 'pull_request'
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
# Backstop for the cancel-in-progress race on a repaired rerun. Attempt 1 and
# attempt 2 of the triggering build share one run_id but differ in run_attempt,
@@ -147,7 +147,7 @@ jobs:
else
echo "stale=false" >> "$GITHUB_OUTPUT"
fi
- name: Report final status to PR commit
if: steps.stalecheck.outputs.stale == 'false'
env:
@@ -173,4 +173,4 @@ jobs:
-f state="$STATE" \
-f context="$STATUS_CONTEXT" \
-f description="$DESC" \
-f target_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
-f target_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"