diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index aad8127..68a4525 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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: | diff --git a/.github/workflows/gate-by-required.yml b/.github/workflows/gate-by-required.yml index 9ff6ae2..1a20c63 100644 --- a/.github/workflows/gate-by-required.yml +++ b/.github/workflows/gate-by-required.yml @@ -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 \ No newline at end of file + annotated_file: https://raw.githubusercontent.com/MalTeeez/packscripts-auto-builds/refs/heads/gtnh-daily/annotated_mods.json diff --git a/.github/workflows/label-reviews.yml b/.github/workflows/label-reviews.yml index b57e165..2924d0c 100644 --- a/.github/workflows/label-reviews.yml +++ b/.github/workflows/label-reviews.yml @@ -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 diff --git a/.github/workflows/latest-daily-integration-test.yml b/.github/workflows/latest-daily-integration-test.yml index 5235216..8ba55dd 100644 --- a/.github/workflows/latest-daily-integration-test.yml +++ b/.github/workflows/latest-daily-integration-test.yml @@ -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 }}" \ No newline at end of file + -f target_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" diff --git a/.github/workflows/optimize-images.yml b/.github/workflows/optimize-images.yml index 4d5eac2..77dde3e 100644 --- a/.github/workflows/optimize-images.yml +++ b/.github/workflows/optimize-images.yml @@ -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 diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index a54851b..b280d93 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -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 }} diff --git a/.github/workflows/trigger-rebuild-with-deps.yml b/.github/workflows/trigger-rebuild-with-deps.yml index 14fe7d7..0ee8980 100644 --- a/.github/workflows/trigger-rebuild-with-deps.yml +++ b/.github/workflows/trigger-rebuild-with-deps.yml @@ -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 }}" \ No newline at end of file + -f target_url="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" diff --git a/.github/workflows/upstream_commentor.yml b/.github/workflows/upstream_commentor.yml index 2008917..061bb7b 100644 --- a/.github/workflows/upstream_commentor.yml +++ b/.github/workflows/upstream_commentor.yml @@ -15,7 +15,7 @@ on: jobs: comment: - runs-on: ubuntu-latest + runs-on: ubuntu-26.04 steps: - name: Comment on PR