workflows: update Ubuntu runner to ubuntu-24.04
Link: https://github.com/actions/runner-images/issues/10636
This commit is contained in:
parent
2660dd1e71
commit
fcfbe6fff4
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
backport:
|
backport:
|
||||||
name: Backport Pull Request
|
name: Backport Pull Request
|
||||||
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
|
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
# Use a GitHub App to create the PR so that CI gets triggered
|
# Use a GitHub App to create the PR so that CI gets triggered
|
||||||
# The App is scoped to Repository > Contents and Pull Requests: write for Nixpkgs
|
# The App is scoped to Repository > Contents and Pull Requests: write for Nixpkgs
|
||||||
|
2
.github/workflows/basic-eval.yml
vendored
2
.github/workflows/basic-eval.yml
vendored
@ -16,7 +16,7 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
name: basic-eval-checks
|
name: basic-eval-checks
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
# we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
|
# we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
2
.github/workflows/check-cherry-picks.yml
vendored
2
.github/workflows/check-cherry-picks.yml
vendored
@ -11,7 +11,7 @@ permissions: {}
|
|||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
name: cherry-pick-check
|
name: cherry-pick-check
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
@ -10,7 +10,7 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
nixos:
|
nixos:
|
||||||
name: maintainer-list-check
|
name: maintainer-list-check
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
2
.github/workflows/check-nix-format.yml
vendored
2
.github/workflows/check-nix-format.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
nixos:
|
nixos:
|
||||||
name: nixfmt-check
|
name: nixfmt-check
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: get-merge-commit
|
needs: get-merge-commit
|
||||||
if: "needs.get-merge-commit.outputs.mergedSha && !contains(github.event.pull_request.title, '[skip treewide]')"
|
if: "needs.get-merge-commit.outputs.mergedSha && !contains(github.event.pull_request.title, '[skip treewide]')"
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/workflows/check-nixf-tidy.yml
vendored
2
.github/workflows/check-nixf-tidy.yml
vendored
@ -9,7 +9,7 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
nixos:
|
nixos:
|
||||||
name: exp-nixf-tidy-check
|
name: exp-nixf-tidy-check
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
if: "!contains(github.event.pull_request.title, '[skip treewide]')"
|
if: "!contains(github.event.pull_request.title, '[skip treewide]')"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
2
.github/workflows/check-shell.yml
vendored
2
.github/workflows/check-shell.yml
vendored
@ -11,7 +11,7 @@ permissions: {}
|
|||||||
jobs:
|
jobs:
|
||||||
x86_64-linux:
|
x86_64-linux:
|
||||||
name: shell-check-x86_64-linux
|
name: shell-check-x86_64-linux
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
|
4
.github/workflows/codeowners-v2.yml
vendored
4
.github/workflows/codeowners-v2.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
|||||||
# Check that code owners is valid
|
# Check that code owners is valid
|
||||||
check:
|
check:
|
||||||
name: Check
|
name: Check
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: get-merge-commit
|
needs: get-merge-commit
|
||||||
if: needs.get-merge-commit.outputs.mergedSha
|
if: needs.get-merge-commit.outputs.mergedSha
|
||||||
steps:
|
steps:
|
||||||
@ -88,7 +88,7 @@ jobs:
|
|||||||
# Request reviews from code owners
|
# Request reviews from code owners
|
||||||
request:
|
request:
|
||||||
name: Request
|
name: Request
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
|
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
|
||||||
|
|
||||||
|
2
.github/workflows/editorconfig-v2.yml
vendored
2
.github/workflows/editorconfig-v2.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
tests:
|
tests:
|
||||||
name: editorconfig-check
|
name: editorconfig-check
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: get-merge-commit
|
needs: get-merge-commit
|
||||||
if: "needs.get-merge-commit.outputs.mergedSha && github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')"
|
if: "needs.get-merge-commit.outputs.mergedSha && github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')"
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/workflows/eval-lib-tests.yml
vendored
2
.github/workflows/eval-lib-tests.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
|
|
||||||
nixpkgs-lib-tests:
|
nixpkgs-lib-tests:
|
||||||
name: nixpkgs-lib-tests
|
name: nixpkgs-lib-tests
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: get-merge-commit
|
needs: get-merge-commit
|
||||||
if: needs.get-merge-commit.outputs.mergedSha
|
if: needs.get-merge-commit.outputs.mergedSha
|
||||||
steps:
|
steps:
|
||||||
|
10
.github/workflows/eval.yml
vendored
10
.github/workflows/eval.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
|
|
||||||
attrs:
|
attrs:
|
||||||
name: Attributes
|
name: Attributes
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: get-merge-commit
|
needs: get-merge-commit
|
||||||
# Skip this and dependent steps if the PR can't be merged
|
# Skip this and dependent steps if the PR can't be merged
|
||||||
if: needs.get-merge-commit.outputs.mergedSha
|
if: needs.get-merge-commit.outputs.mergedSha
|
||||||
@ -60,7 +60,7 @@ jobs:
|
|||||||
|
|
||||||
eval-aliases:
|
eval-aliases:
|
||||||
name: Eval nixpkgs with aliases enabled
|
name: Eval nixpkgs with aliases enabled
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: [ attrs, get-merge-commit ]
|
needs: [ attrs, get-merge-commit ]
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the PR at the test merge commit
|
- name: Check out the PR at the test merge commit
|
||||||
@ -78,7 +78,7 @@ jobs:
|
|||||||
|
|
||||||
outpaths:
|
outpaths:
|
||||||
name: Outpaths
|
name: Outpaths
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: [ attrs, get-merge-commit ]
|
needs: [ attrs, get-merge-commit ]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -118,7 +118,7 @@ jobs:
|
|||||||
|
|
||||||
process:
|
process:
|
||||||
name: Process
|
name: Process
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: [ outpaths, attrs, get-merge-commit ]
|
needs: [ outpaths, attrs, get-merge-commit ]
|
||||||
outputs:
|
outputs:
|
||||||
baseRunId: ${{ steps.baseRunId.outputs.baseRunId }}
|
baseRunId: ${{ steps.baseRunId.outputs.baseRunId }}
|
||||||
@ -218,7 +218,7 @@ jobs:
|
|||||||
# Separate job to have a very tightly scoped PR write token
|
# Separate job to have a very tightly scoped PR write token
|
||||||
tag:
|
tag:
|
||||||
name: Tag
|
name: Tag
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: [ attrs, process ]
|
needs: [ attrs, process ]
|
||||||
if: needs.process.outputs.baseRunId
|
if: needs.process.outputs.baseRunId
|
||||||
permissions:
|
permissions:
|
||||||
|
2
.github/workflows/get-merge-commit.yml
vendored
2
.github/workflows/get-merge-commit.yml
vendored
@ -12,7 +12,7 @@ permissions: {}
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
resolve-merge-commit:
|
resolve-merge-commit:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
outputs:
|
outputs:
|
||||||
mergedSha: ${{ steps.merged.outputs.mergedSha }}
|
mergedSha: ${{ steps.merged.outputs.mergedSha }}
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
@ -16,7 +16,7 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
labels:
|
labels:
|
||||||
name: label-pr
|
name: label-pr
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')"
|
if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
|
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
|
||||||
|
2
.github/workflows/manual-nixos-v2.yml
vendored
2
.github/workflows/manual-nixos-v2.yml
vendored
@ -13,7 +13,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
nixos:
|
nixos:
|
||||||
name: nixos-manual-build
|
name: nixos-manual-build
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
2
.github/workflows/manual-nixpkgs-v2.yml
vendored
2
.github/workflows/manual-nixpkgs-v2.yml
vendored
@ -15,7 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
nixpkgs:
|
nixpkgs:
|
||||||
name: nixpkgs-manual-build
|
name: nixpkgs-manual-build
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
2
.github/workflows/nix-parse-v2.yml
vendored
2
.github/workflows/nix-parse-v2.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
tests:
|
tests:
|
||||||
name: nix-files-parseable-check
|
name: nix-files-parseable-check
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: get-merge-commit
|
needs: get-merge-commit
|
||||||
if: "needs.get-merge-commit.outputs.mergedSha && github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')"
|
if: "needs.get-merge-commit.outputs.mergedSha && github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')"
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/workflows/nixpkgs-vet.yml
vendored
2
.github/workflows/nixpkgs-vet.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
check:
|
check:
|
||||||
name: nixpkgs-vet
|
name: nixpkgs-vet
|
||||||
# This needs to be x86_64-linux, because we depend on the tooling being pre-built in the GitHub releases.
|
# This needs to be x86_64-linux, because we depend on the tooling being pre-built in the GitHub releases.
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
# This should take 1 minute at most, but let's be generous. The default of 6 hours is definitely too long.
|
# This should take 1 minute at most, but let's be generous. The default of 6 hours is definitely too long.
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
needs: get-merge-commit
|
needs: get-merge-commit
|
||||||
|
2
.github/workflows/no-channel.yml
vendored
2
.github/workflows/no-channel.yml
vendored
@ -13,7 +13,7 @@ permissions: {}
|
|||||||
jobs:
|
jobs:
|
||||||
fail:
|
fail:
|
||||||
name: "This PR is is targeting a channel branch"
|
name: "This PR is is targeting a channel branch"
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
2
.github/workflows/periodic-merge-24h.yml
vendored
2
.github/workflows/periodic-merge-24h.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
contents: write # for devmasx/merge-branch to merge branches
|
contents: write # for devmasx/merge-branch to merge branches
|
||||||
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
|
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
# don't fail fast, so that all pairs are tried
|
# don't fail fast, so that all pairs are tried
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
2
.github/workflows/periodic-merge-6h.yml
vendored
2
.github/workflows/periodic-merge-6h.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
contents: write # for devmasx/merge-branch to merge branches
|
contents: write # for devmasx/merge-branch to merge branches
|
||||||
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
|
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
strategy:
|
strategy:
|
||||||
# don't fail fast, so that all pairs are tried
|
# don't fail fast, so that all pairs are tried
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
|||||||
contents: write # for devmasx/merge-branch to merge branches
|
contents: write # for devmasx/merge-branch to merge branches
|
||||||
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
|
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
name: git merge-base master staging → haskell-updates
|
name: git merge-base master staging → haskell-updates
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
needs: get-merge-commit
|
needs: get-merge-commit
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@<VERSION>
|
- uses: actions/checkout@<VERSION>
|
||||||
|
Loading…
Reference in New Issue
Block a user