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 -1
View File
@@ -81,7 +81,7 @@ concurrency:
jobs:
build-and-test:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Install Ubuntu dependencies
run: |
+2 -2
View File
@@ -5,7 +5,7 @@ on:
jobs:
check-required-prs:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Check required PRs
uses: MalTeeez/packscripts@a89fe398d047ac9e2e165465a51096be4f9853cb
@@ -19,4 +19,4 @@ jobs:
--allow_all_merged
github_token: ${{ secrets.GITHUB_TOKEN }}
config: https://raw.githubusercontent.com/MalTeeez/packscripts-auto-builds/refs/heads/gtnh-daily/packscripts.json
annotated_file: https://raw.githubusercontent.com/MalTeeez/packscripts-auto-builds/refs/heads/gtnh-daily/annotated_mods.json
annotated_file: https://raw.githubusercontent.com/MalTeeez/packscripts-auto-builds/refs/heads/gtnh-daily/annotated_mods.json
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
# This needs to be kept in sync with the labels being checked
# These don't need to hold the entire label name and aren't case sensitive
if: ${{ contains(github.event.pull_request.labels.*.name, 'Affects Balance') || contains(github.event.pull_request.labels.*.name, 'ongoing freeze') }}
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Label requires reviews
uses: GTNewHorizons/label-requires-reviews-action@master
@@ -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 }}"
+1 -1
View File
@@ -10,7 +10,7 @@ concurrency:
jobs:
compress:
name: Compress and make a PR if needed
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Checkout repository
+1 -1
View File
@@ -27,7 +27,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
env:
VERSION: ${{ github.ref_name }}
RELEASE_VERSION: ${{ github.ref_name }}
@@ -1,7 +1,7 @@
name: Trigger a rebuild with externally required PRs
# 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:
@@ -10,11 +10,11 @@ permissions:
actions: write
contents: read
statuses: write
jobs:
trigger-rebuild-with-deps:
name: Apply required PRs from external repos
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
if: github.event.workflow_run.conclusion == 'failure'
&& github.event.workflow_run.event == 'pull_request'
&& github.event.workflow_run.run_attempt == 1
@@ -105,4 +105,4 @@ jobs:
-f state="${{ job.status }}" \
-f context="Trigger rebuild with deps" \
-f description="External PR deps applied; rebuild triggered" \
-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 }}"
+1 -1
View File
@@ -15,7 +15,7 @@ on:
jobs:
comment:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Comment on PR