Skip to content

Commit b27edaf

Browse files
committed
fix(release): require external ruleset workflow
1 parent acc595d commit b27edaf

4 files changed

Lines changed: 621 additions & 69 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -254,42 +254,3 @@ jobs:
254254

255255
- name: Check docs
256256
run: scripts/check-docs.sh
257-
258-
release-check:
259-
name: Release Check
260-
runs-on: macos-15
261-
timeout-minutes: 45
262-
263-
steps:
264-
- name: Check out
265-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
266-
with:
267-
fetch-depth: 0
268-
269-
- name: Verify Apple Silicon runner
270-
run: test "$(uname -m)" = arm64
271-
272-
- name: Set up Go
273-
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
274-
with:
275-
go-version-file: go.mod
276-
cache: false
277-
278-
- name: Snapshot release build
279-
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3
280-
with:
281-
distribution: goreleaser
282-
version: "~> v2"
283-
args: release --snapshot --clean --skip=publish --parallelism 1
284-
285-
- name: Verify snapshot helper embeds VM daemon
286-
run: |
287-
helper="$(find dist -type f -name crabbox-apple-vm-helper -print -quit)"
288-
if [ -z "$helper" ] || [ ! -x "$helper" ]; then
289-
echo "::error::snapshot Apple VM helper not found"
290-
exit 1
291-
fi
292-
if ! "$helper" vmd-info | grep -q '"embedded":true'; then
293-
echo "::error::snapshot Apple VM helper is missing the embedded VM daemon"
294-
exit 1
295-
fi

0 commit comments

Comments
 (0)