Unverified Commit 5a1b4e07 authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

workflows: Use ARM runners (#405943)

parents 9307b0fe a56fa7a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ jobs:
  backport:
    name: Backport Pull Request
    if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event.action != 'labeled' || startsWith(github.event.label.name, 'backport'))
    runs-on: ubuntu-24.04
    runs-on: ubuntu-24.04-arm
    steps:
      # 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
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ permissions: {}
jobs:
  check:
    name: cherry-pick-check
    runs-on: ubuntu-24.04
    runs-on: ubuntu-24.04-arm
    if: github.repository_owner == 'NixOS'
    steps:
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ jobs:

  nixos:
    name: fmt-check
    runs-on: ubuntu-24.04
    runs-on: ubuntu-24.04-arm
    needs: get-merge-commit
    if: needs.get-merge-commit.outputs.mergedSha
    steps:
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,10 @@ jobs:
        include:
          - runner: ubuntu-24.04
            system: x86_64-linux
          - runner: ubuntu-24.04-arm
            system: aarch64-linux
          - runner: macos-13
            system: x86_64-darwin
          - runner: macos-14
            system: aarch64-darwin

+2 −2
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ jobs:
  # Check that code owners is valid
  check:
    name: Check
    runs-on: ubuntu-24.04
    runs-on: ubuntu-24.04-arm
    needs: get-merge-commit
    if: github.repository_owner == 'NixOS' && needs.get-merge-commit.outputs.mergedSha
    steps:
@@ -89,7 +89,7 @@ jobs:
  # Request reviews from code owners
  request:
    name: Request
    runs-on: ubuntu-24.04
    runs-on: ubuntu-24.04-arm
    if: github.repository_owner == 'NixOS'
    steps:
      - uses: cachix/install-nix-action@526118121621777ccd86f79b04685a9319637641 # v31
Loading