Commit a1df296
[Repo Assist] Fix script warnings and add CheckDocScripts to Verify pipeline (#1083)
* Fix script warnings and add CheckDocScripts to Verify pipeline
- Fix FS0760 IDisposable warnings in docs/evaluation.fsx by using
'new FsiEvaluator()' constructor syntax (two occurrences)
- Improve error message in ParseScript when type errors are found
in a script file (now includes the file path)
- Add CheckDocScripts stage to the Verify pipeline in build.fsx so
that 'dotnet fsi build.fsx -- -p Verify' also type-checks docs
scripts with --strict, catching errors locally before CI
The full CI pipeline already ran 'fsdocs build --strict' in the
GenerateDocs stage (permanent check). The new CheckDocScripts stage
makes the same check available via the lighter-weight Verify pipeline.
Closes #1081
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: trigger checks
* feat: run CheckDocScripts stage on Windows too
Remove the 'whenNot Windows' guard and use System.OperatingSystem.IsWindows()
to select the correct binary extension (fsdocs.exe on Windows, fsdocs on Unix).
This means the Verify pipeline now type-checks documentation scripts on all
platforms.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: trigger checks
* build: add CheckDocScripts to CI pipeline
Move fsdocsLocalBin/checkDocScriptsStage definitions before the CI
pipeline and include the stage in CI (after Tests, before GenerateDocs).
This ensures doc-script type errors are caught on all CI runners, not
only when running the Verify pipeline locally.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: trigger checks
* chore: remove changelog entries from RELEASE_NOTES.md
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: trigger checks
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a7b9e55 commit a1df296
3 files changed
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
52 | 63 | | |
53 | 64 | | |
54 | 65 | | |
| |||
68 | 79 | | |
69 | 80 | | |
70 | 81 | | |
| 82 | + | |
| 83 | + | |
71 | 84 | | |
72 | 85 | | |
73 | 86 | | |
| |||
92 | 105 | | |
93 | 106 | | |
94 | 107 | | |
| 108 | + | |
95 | 109 | | |
96 | 110 | | |
97 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
| 390 | + | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
0 commit comments