From baaa84629336b2b4fd2de4dcf79a3d753079d510 Mon Sep 17 00:00:00 2001 From: Sara Date: Fri, 12 Jun 2026 18:32:08 -0400 Subject: [PATCH] Build x86_64-apple-darwin on Apple Silicon; release 0.2.2 The v0.2.1 release hung on the x86_64-apple-darwin build: it requested a macos-13 (Intel) runner, which GitHub no longer allocates, so the job queued indefinitely and the release never published. GitHub's current macOS runners are all Apple Silicon. Build the Intel binary by cross-compiling on macos-14 (the same runner the aarch64 build already uses successfully) instead of waiting on a retired Intel runner. Bump to 0.2.2. Co-Authored-By: Claude Opus 4.8 (1M context) --- Cargo.lock | 2 +- Cargo.toml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9fd90ef..fbf312b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -501,7 +501,7 @@ dependencies = [ [[package]] name = "fossapi" -version = "0.2.1" +version = "0.2.2" dependencies = [ "async-trait", "axum", diff --git a/Cargo.toml b/Cargo.toml index 8820439..89757be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fossapi" -version = "0.2.1" +version = "0.2.2" edition = "2021" description = "Rust client library for the FOSSA REST API" license = "MIT" @@ -88,10 +88,13 @@ install-path = "CARGO_HOME" # Pin CI runners to images GitHub still hosts. dist 0.27 defaults to # ubuntu-20.04 / windows-2019, both retired, so jobs requesting them queue # until the 24h timeout and the PR check sits "pending" forever. +# Both apple-darwin targets build on Apple Silicon (macos-14): GitHub no longer +# allocates Intel macOS runners (macos-13 deprecated), so the x86_64 binary is +# cross-compiled on the arm runner. [workspace.metadata.dist.github-custom-runners] global = "ubuntu-22.04" aarch64-apple-darwin = "macos-14" -x86_64-apple-darwin = "macos-13" +x86_64-apple-darwin = "macos-14" x86_64-unknown-linux-gnu = "ubuntu-22.04" x86_64-unknown-linux-musl = "ubuntu-22.04" x86_64-pc-windows-msvc = "windows-2022"