Commit a31c3c0
committed
fix: standardize SwiftLint workflow with proper container and caching
Replaced minimal SwiftLint workflow with proper implementation that:
- Uses Swift 6.2 container for consistency
- Builds SwiftLint from source (not relying on preinstalled version)
- Implements caching for faster runs (~30s vs 11m)
- Runs on both push and PR (not just PR)
- Uses --strict flag (fails on warnings)
- Removes continue-on-error (failures should block merges)
- Adds concurrency group to cancel outdated runs
Matches swift-html-to-pdf configuration.1 parent 654cca5 commit a31c3c0
1 file changed
+39
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
5 | 14 | | |
6 | 15 | | |
7 | 16 | | |
| 17 | + | |
8 | 18 | | |
| 19 | + | |
9 | 20 | | |
10 | 21 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments