Commit faa163c
committed
🔧 CI: Prune Hatch environments after install
We explicitly run `hatch env prune` right after installing Hatch to ensure that
any stale or corrupted metadata for reserved environments (e.g. `hatch-static-analysis`)
is removed. This avoids `JSONDecodeError` crashes observed in CI when running
`hatch fmt` via pre-commit.1 parent b381ff6 commit faa163c
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments