Skip to content

Commit cc50c52

Browse files
ci: Use macOS 14 arm64 runner, not x86_64 (#462)
- The resulting binary should be faster on arm64 Macs. - Fixes an incorrect cache check for actionlint - Updates the actionlint version
1 parent fae57cf commit cc50c52

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,10 @@ jobs:
2626
- platform: 'ubuntu-22.04'
2727
container: 'gcc:9.5.0-buster'
2828
config: 'release'
29-
# NOTE: GitHub-hosted runners for macOS are x86_64 only
30-
# https://github.com/github/roadmap/issues/528
31-
- platform: 'macos-12'
29+
# macOS 14 => arm64
30+
- platform: 'macos-14'
3231
container: ''
3332
config: 'release'
34-
# Seeing an inexplicable
35-
# ld: file not found: external/llvm_toolchain_llvm/lib/clang/15.0.7/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
36-
# when running the dev build in in GitHub Actions
3733
runs-on: ${{ matrix.platform }}
3834
container: ${{ matrix.container }}
3935
env:

fetch_deps.bzl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,22 +210,22 @@ def fetch_direct_dependencies():
210210
http_archive(
211211
name = "actionlint_darwin_arm64",
212212
build_file = "@scip_clang//third_party:actionlint.BUILD",
213-
sha256 = "5477f8a5a4073ef086525a2512b2bf1201641cd544034ad0c66f329590638242",
214-
urls = ["https://github.com/rhysd/actionlint/releases/download/v1.6.24/actionlint_1.6.24_darwin_arm64.tar.gz"],
213+
sha256 = "4b8eff986643b8d9918c4fd3ada9c0eee7e59230a53a46a9bd9686521dcad170",
214+
urls = ["https://github.com/rhysd/actionlint/releases/download/v1.6.27/actionlint_1.6.27_darwin_arm64.tar.gz"],
215215
)
216216

217217
http_archive(
218218
name = "actionlint_linux_amd64",
219219
build_file = "@scip_clang//third_party:actionlint.BUILD",
220-
sha256 = "3c5818744143a5d6754edd3dcc4c2b32c9dfcdd3bb30e0e108fb5e5c505262d4",
221-
urls = ["https://github.com/rhysd/actionlint/releases/download/v1.6.24/actionlint_1.6.24_linux_amd64.tar.gz"],
220+
sha256 = "5c9b6e5418f688b7f7c7e3d40c13d9e41b1ca45fb6a2c35788b0580e34b7300f",
221+
urls = ["https://github.com/rhysd/actionlint/releases/download/v1.6.27/actionlint_1.6.27_linux_amd64.tar.gz"],
222222
)
223223

224224
http_archive(
225225
name = "actionlint_linux_arm64",
226226
build_file = "@scip_clang//third_party:actionlint.BUILD",
227-
sha256 = "93cc9d1f4a01f0658423b41ecf3bd8c17c619003ec683be8bac9264d0361d0d8",
228-
urls = ["https://github.com/rhysd/actionlint/releases/download/v1.6.24/actionlint_1.6.24_linux_arm64.tar.gz"],
227+
sha256 = "03ffe5891da7800ec39533543667697b5c292d0ff8b906397b43c58374ec052a",
228+
urls = ["https://github.com/rhysd/actionlint/releases/download/v1.6.27/actionlint_1.6.27_linux_arm64.tar.gz"],
229229
)
230230

231231
http_archive(

tools/lint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ set -euo pipefail
33

44
PROJECT_ROOT="$(dirname "${BASH_SOURCE[0]}")/.."
55

6-
if [ ! -f "bazel-bin/third_party/actionlint" ]; then
7-
bazel build //third_party:actionlint
8-
fi
6+
bazel build //third_party:actionlint
97

108
(
119
cd "$PROJECT_ROOT"

0 commit comments

Comments
 (0)