Skip to content

Commit

Permalink
remove macos-11 runner label support which was dropped in Jun 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Sep 27, 2024
1 parent 987484b commit 0c8ae46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ test.yaml:5:11: character '\' is invalid for branch and tag names. only special
|
5 | - 'v\d+'
| ^~~~
test.yaml:10:28: label "linux-latest" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file [runner-label]
test.yaml:10:28: label "linux-latest" is unknown. available labels are "windows-latest", "windows-2022", "windows-2019", "windows-2016", "ubuntu-latest", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "macos-latest", "macos-12", "macos-12.0", "macos-11.0", "macos-10.15", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file [runner-label]
|
10 | os: [macos-latest, linux-latest]
| ^~~~~~~~~~~~~
Expand Down
2 changes: 0 additions & 2 deletions rule_runner_label.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ var allGitHubHostedRunnerLabels = []string{
"macos-12-large",
"macos-12",
"macos-12.0",
"macos-11",
"macos-11.0",
}

Expand Down Expand Up @@ -104,7 +103,6 @@ var defaultRunnerOSCompats = map[string]runnerOSCompat{
"macos-12-large": compatMacOS120L,
"macos-12": compatMacOS120,
"macos-12.0": compatMacOS120,
"macos-11": compatMacOS110,
"macos-11.0": compatMacOS110,
"windows-latest": compatWindows2022,
"windows-latest-8-cores": compatWindows2022,
Expand Down

0 comments on commit 0c8ae46

Please sign in to comment.