.github/workflows: Upgrade deprecated macos-11 to macos-latest

See https://github.com/actions/runner-images
This commit is contained in:
Dan McArdle 2024-04-04 18:30:46 -04:00 committed by Nick Craig-Wood
parent a2e38e9883
commit 05e5712bc4

View file

@ -49,7 +49,7 @@ jobs:
quicktest: true quicktest: true
- job_name: mac_amd64 - job_name: mac_amd64
os: macos-11 os: macos-latest
go: '>=1.22.0-rc.1' go: '>=1.22.0-rc.1'
gotags: 'cmount' gotags: 'cmount'
build_flags: '-include "^darwin/amd64" -cgo' build_flags: '-include "^darwin/amd64" -cgo'
@ -58,7 +58,7 @@ jobs:
deploy: true deploy: true
- job_name: mac_arm64 - job_name: mac_arm64
os: macos-11 os: macos-latest
go: '>=1.22.0-rc.1' go: '>=1.22.0-rc.1'
gotags: 'cmount' gotags: 'cmount'
build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib' build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib'
@ -138,7 +138,7 @@ jobs:
brew update brew update
brew install --cask macfuse brew install --cask macfuse
brew install git-annex brew install git-annex
if: matrix.os == 'macos-11' if: matrix.os == 'macos-latest'
- name: Install Libraries on Windows - name: Install Libraries on Windows
shell: powershell shell: powershell