Commit a36e348
authored
Add pre-push subcommand and update dependencies (#15)
* Add pre-push subcommand and update dependencies
- Implement `pre-push` subcommand that runs targeted checks on modified crates
- Detects changed files since merge-base with origin/main
- Identifies affected crates from file paths
- Runs clippy, tests, and doc-tests only for affected crates
- Provides clear, colorized output for check results
- Update dependencies:
- fs-err: 3.1.0 -> 3.2.0
- log: 0.4.27 -> 0.4.29
- owo-colors: 4.2.1 -> 4.2.3
- Update GitHub Actions:
- actions/checkout: v5 -> v6
- github/codeql-action: v3 -> v4
Resolves facet-rs/facet#1247
* Add Windows compatibility (merge PR #9)
Make executable bit handling conditional on Unix platforms:
- Add #[cfg(unix)] to PermissionsExt import
- Make Job.executable field Unix-only
- Conditionally check/set executable bits only on Unix
- On Windows, skip executable bit checks entirely
Co-authored-by: boringcactus <[email protected]>1 parent 2fbbd68 commit a36e348
4 files changed
+254
-24
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
0 commit comments