Skip to content

go: command not found on macOS runners #13675

@Goooler

Description

@Goooler

Description

go: command not found

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • Ubuntu Slim
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26
  • macOS 26 Arm64
  • Windows Server 2022
  • Windows Server 2025
  • Windows Server 2025 with Visual Studio 2026

Image version and build link

  Image: macos-26-arm64
  Version: 20260209.0200.1
  Included Software: https://github.com/actions/runner-images/blob/macos-26-arm64/20260209.0200/images/macos/macos-26-arm64-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macos-26-arm64%2F20260209.0200
  Image: macos-15-arm64
  Version: 20260209.0147.2
  Included Software: https://github.com/actions/runner-images/blob/macos-15-arm64/20260209.0147/images/macos/macos-15-arm64-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macos-15-arm64%2F20260209.0147
  Image: macos-15
  Version: 20260209.0153.1
  Included Software: https://github.com/actions/runner-images/blob/macos-15/20260209.0153/images/macos/macos-15-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macos-15%2F20260209.0153

Is it regression?

Seems like

Expected behavior

go is added into PATH like ubuntu runners does.

Actual behavior

Nope

Repro steps

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [ macos-latest, macos-26, macos-15-intel, ubuntu-latest ]
    runs-on: ${{ matrix.os }}
    steps:
      - run: |
          echo -e "package main\n\nfunc main() {}" > main.go
          go build -o main main.go

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions