File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,6 +74,12 @@ local builtin_checks = new Mapping<String, Step> {
7474 exclude = generated_excludes + template_excludes
7575 hide = true
7676 }
77+ ["actionlint" ] {
78+ glob = List(".github/workflows/*.yml" , ".github/workflows/*.yaml" )
79+ check = "actionlint {{files}}"
80+ batch = true
81+ hide = true
82+ }
7783}
7884
7985// =============================================================================
Original file line number Diff line number Diff line change 1+ [[tools.actionlint]]
2+ version = "1.7.9"
3+ backend = "aqua:rhysd/actionlint"
4+ "platforms.linux-arm64" = { checksum = "sha256:6b82a3b8c808bf1bcd39a95aced22fc1a026eef08ede410f81e274af8deadbbc", url = "https://github.com/rhysd/actionlint/releases/download/v1.7.9/actionlint_1.7.9_linux_arm64.tar.gz"}
5+ "platforms.linux-x64" = { checksum = "sha256:233b280d05e100837f4af1433c7b40a5dcb306e3aa68fb4f17f8a7f45a7df7b4", url = "https://github.com/rhysd/actionlint/releases/download/v1.7.9/actionlint_1.7.9_linux_amd64.tar.gz"}
6+ "platforms.macos-arm64" = { checksum = "sha256:855e49e823fc68c6371fd6967e359cde11912d8d44fed343283c8e6e943bd789", url = "https://github.com/rhysd/actionlint/releases/download/v1.7.9/actionlint_1.7.9_darwin_arm64.tar.gz"}
7+ "platforms.macos-x64" = { checksum = "sha256:f89a910e90e536f60df7c504160247db01dd67cab6f08c064c1c397b76c91a79", url = "https://github.com/rhysd/actionlint/releases/download/v1.7.9/actionlint_1.7.9_darwin_amd64.tar.gz"}
8+ "platforms.windows-x64" = { checksum = "sha256:7c8b10a93723838bc3533f6e1886d868fdbb109b81606ebe6d1a533d11d8e978", url = "https://github.com/rhysd/actionlint/releases/download/v1.7.9/actionlint_1.7.9_windows_amd64.zip"}
9+
110[[tools.dprint]]
211version = "0.50.2"
312backend = "aqua:dprint/dprint"
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ dprint = "0.50.2" # MD/JSON/YAML formatting (Rust, fast)
3333
3434# --- Git & CI ---
3535hk = " 1.28.0" # Git hooks manager
36+ actionlint = " 1.7.9" # GitHub Actions linting
3637git-cliff = " 2.10.1" # Changelog generation
3738
3839# --- Configuration ---
@@ -69,8 +70,11 @@ swift test --filter {{arg(name='filter')}} 2>&1 | xcsift -w -f toon --toon-key-f
6970"""
7071
7172[tasks .lint ]
72- description = " Run SwiftLint"
73- run = " swiftlint lint --strict Sources Tests 2>&1 | xcsift -f toon --toon-key-folding safe"
73+ description = " Run SwiftLint and actionlint"
74+ run = """
75+ swiftlint lint --strict Sources Tests 2>&1 | xcsift -f toon --toon-key-folding safe
76+ actionlint
77+ """
7478
7579[tasks ."format:swift" ]
7680description = " Format Swift code"
You can’t perform that action at this time.
0 commit comments