Skip to content

remove macos-12 runner label #465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions rule_runner_label.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ const (
compatUbuntu2004 runnerOSCompat = 1 << iota
compatUbuntu2204
compatUbuntu2404
compatMacOS120
compatMacOS120L
compatMacOS120XL
compatMacOS130
compatMacOS130L
compatMacOS130XL
Expand Down Expand Up @@ -56,10 +53,6 @@ var allGitHubHostedRunnerLabels = []string{
"macos-13-xlarge",
"macos-13-large",
"macos-13",
"macos-12-xl",
"macos-12-xlarge",
"macos-12-large",
"macos-12",
}

// https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow#using-default-labels-to-route-jobs
Expand Down Expand Up @@ -100,16 +93,12 @@ var defaultRunnerOSCompats = map[string]runnerOSCompat{
"macos-13-xlarge": compatMacOS130XL,
"macos-13-large": compatMacOS130L,
"macos-13": compatMacOS130,
"macos-12-xl": compatMacOS120XL,
"macos-12-xlarge": compatMacOS120XL,
"macos-12-large": compatMacOS120L,
"macos-12": compatMacOS120,
"windows-latest": compatWindows2022,
"windows-latest-8-cores": compatWindows2022,
"windows-2022": compatWindows2022,
"windows-2019": compatWindows2019,
"linux": compatUbuntu2404 | compatUbuntu2204 | compatUbuntu2004, // Note: "linux" does not always indicate Ubuntu. It might be Fedora or Arch or ...
"macos": compatMacOS150 | compatMacOS150L | compatMacOS150XL | compatMacOS140 | compatMacOS140L | compatMacOS140XL | compatMacOS130 | compatMacOS130L | compatMacOS130XL | compatMacOS120 | compatMacOS120L | compatMacOS120XL,
"macos": compatMacOS150 | compatMacOS150L | compatMacOS150XL | compatMacOS140 | compatMacOS140L | compatMacOS140XL | compatMacOS130 | compatMacOS130L | compatMacOS130XL,
"windows": compatWindows2022 | compatWindows2019,
}

Expand Down
Loading