Skip to content

Commit

Permalink
ci(go.yml): update macOS version in Test job to "macos-latest"
Browse files Browse the repository at this point in the history
This commit updates .github/workflows/go.yml by changing the macOS
version in the testing matrix from "macos-11" to "macos-latest". The
change is necessary due to the deprecation of the "macos-11" label, as
mentioned in the GitHub docs[^1]. According to the docs, the "macos-11"
label will no longer be available after 2024-06-28.

[^1]: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
  • Loading branch information
aofei committed Apr 7, 2024
1 parent 69f9efa commit d5fd6c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-11]
os:
- ubuntu-latest
- windows-latest
- macos-latest
go:
- 1.18.x
- 1.19.x
Expand Down

0 comments on commit d5fd6c9

Please sign in to comment.