mirror of
https://github.com/trailofbits/skills
synced 2026-06-21 14:12:00 +00:00
Fix shfmt version in CI to match pre-commit config (v3.12.0)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -95,11 +95,11 @@ jobs:
|
||||
|
||||
- name: Check shell script formatting
|
||||
run: |
|
||||
shfmt_version="v3.10.0"
|
||||
shfmt_version="v3.12.0"
|
||||
shfmt_url="https://github.com/mvdan/sh/releases/download/${shfmt_version}/shfmt_${shfmt_version}_linux_amd64"
|
||||
curl -fsSL "$shfmt_url" -o /tmp/shfmt
|
||||
chmod +x /tmp/shfmt
|
||||
/tmp/shfmt -d -i 2 scripts/install_opencode_skills.sh
|
||||
/tmp/shfmt -d -i 2 -ci scripts/install_opencode_skills.sh
|
||||
|
||||
- name: Validate OpenCode skill compatibility
|
||||
run: python3 scripts/validate_opencode_compat.py
|
||||
|
||||
Reference in New Issue
Block a user