Skip to content

Commit

Permalink
ci: pin GitHub Actions macos runner version
Browse files Browse the repository at this point in the history
Signed-off-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
  • Loading branch information
suzuki-shunsuke committed Apr 25, 2024
1 parent c5654db commit f76246f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/post-tag.yaml
Expand Up @@ -48,7 +48,7 @@ jobs:

release-build-darwin:
name: Release Build (darwin)
runs-on: macos-latest
runs-on: macos-14
needs: generate
steps:
- name: Check out code
Expand All @@ -64,7 +64,9 @@ jobs:
go-version: ${{ steps.go_version.outputs.go_version }}

- name: Build Darwin
run: make ci-build-darwin ci-build-darwin-arm64-static
run: |
make ci-build-darwin GOARCH=amd64
make ci-build-darwin-arm64-static
timeout-minutes: 30
env:
TELEMETRY_URL: ${{ secrets.TELEMETRY_URL }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull-request.yaml
Expand Up @@ -59,7 +59,7 @@ jobs:
# but the downstream targets only want the amd64 binaries, so amd64 is
# the artifact name we upload the darwin target to.
- os: darwin
run: macos-latest
run: macos-14
targets: ci-build-darwin ci-build-darwin-arm64-static
arch: amd64
steps:
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- os: linux
run: ubuntu-22.04
- os: darwin
run: macos-latest
run: macos-14
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
arch: amd64
wasm: disabled
- os: darwin
run: macos-latest
run: macos-13
exec: opa_darwin_amd64
arch: amd64
- os: windows
Expand Down Expand Up @@ -314,7 +314,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-latest]
os: [ubuntu-22.04, macos-14]
version: ["1.20"]
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit f76246f

Please sign in to comment.