Skip to content

Commit 138aaa9

Browse files
ss-oclaude
andcommitted
ci: add concurrency to checksum.yml; add smoke-test to win-install.yml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ae8f888 commit 138aaa9

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/checksum.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
permissions:
1414
contents: write
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: false
19+
1620
jobs:
1721
checksum:
1822
if: github.repository == 'z-shell/zi-src'

.github/workflows/win-install.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,13 @@ jobs:
6060
command rm -rf "${XDG_DATA_HOME:-$HOME/.local/share}/zi" /home/runneradmin/.zi
6161
sh -x ./lib/sh/install.sh -- -a zpmod
6262
shell: C:\tools\cygwin\bin\bash.exe --login -o igncr '{0}'
63+
- name: 🪟 Smoke-test — verify zi.zsh present
64+
run: |
65+
ZI_BIN="${XDG_DATA_HOME:-${HOME}/.local/share}/zi/bin"
66+
if [ ! -f "${ZI_BIN}/zi.zsh" ]; then
67+
printf '%s\n' "FAIL: zi.zsh not found at ${ZI_BIN}/zi.zsh"
68+
exit 1
69+
fi
70+
printf '%s\n' "OK: zi.zsh found at ${ZI_BIN}/zi.zsh"
71+
command rm -rf "${XDG_DATA_HOME:-${HOME}/.local/share}/zi" /home/runneradmin/.zi
72+
shell: C:\tools\cygwin\bin\bash.exe --login -o igncr '{0}'

0 commit comments

Comments
 (0)