Switch back to macos-latest (#1855)

macos-latest is now an alias of macos-14 M1

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-07-31 22:49:13 +10:00 committed by GitHub
parent c635ad6f95
commit 9f3bfa9ca3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 57 additions and 57 deletions

View file

@ -19,7 +19,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-14, ubuntu-latest, windows-latest ]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
@ -27,7 +27,7 @@ jobs:
uses: ./ # uses action.yml from root of the repo
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Verify successful installation - display cargo-binstall's help
run: cargo binstall --help
@ -35,6 +35,6 @@ jobs:
run: cargo binstall -y ripgrep
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Verify successful installation - display help of installed binary
run: rg --help