abcxyz / abcxyz/actions

[shellcheck] Cache saving is failing

未關閉
#64 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Dockerfile
星號
0
分支
8
平均合併
6 分鐘
30 天內合併 PR
1

描述

### TL;DR

```text
Failed to save: Unable to reserve cache with key setup-binary-Linux_X64_shellcheck_0.10.0, another job may be creating this cache.
Warning: Cache save failed.
Run if [[ -n "${DESTINATION_SUBPATH}" ]]; then
```

https://github.com/abcxyz/abc/actions/runs/14784693058/job/41510908332?pr=673

![](https://x.seth.dev/j0BJm8Pd+)

### Expected behavior

_No response_

### Observed behavior

_No response_

### Environment Details

```markdown
GitHub Actions
```

### Additional information

_No response_

貢獻指南

開啟貢獻指南

研究方向

查看使用 shellcheck 的 GitHub Actions workflow,該檔案可能位於 .github/workflows/ 中。檢查 Linux 上 shellcheck 版本 0.10.0 的快取金鑰設定。檢查跨 job 儲存快取時是否存在競態條件。修正方案包括確保快取金鑰唯一,或實作適當的鎖定機制。透過在本機或 fork 中執行 workflow 進行測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, shell
領域
ci-cd
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。