1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-31 14:17:45 +00:00
Commit graph

10 commits

Author SHA1 Message Date
Douglas
c17dcc3855
Fix failing lints on source files (#1049)
This PR updates the toolkit testing to:

* Determine whether to lint as a module or source file based on the
presence of any `export ` line in the file.
* Run `nu-check` on files before linting with `use <file>` or `source
<file>`
* Updates the environment variable to `TEST_METHOD` with options for
`ide-check` or `import-or-source`.
* Updates the default to `import-or-source` (was `ide-check`) to match
CI
* Removes environment variable from CI since this test method is now the
default.

With this in place we should have far fewer (false positive) failing CI
runs.
2025-02-17 09:14:30 -05:00
Darren Schroeder
891854f25f
Create image-actions.yml 2024-07-25 08:20:20 -05:00
Darren Schroeder
a921551619
features = full isn't a thing anymore 2024-06-01 04:41:31 -05:00
Stefan Holderbach
b9c873bc67
Remove the failing CI on the main branch (#805)
See
https://github.com/nushell/nu_scripts/pull/771#issuecomment-2020331739
and following

As we don't have a path forward to make sure all files are fixed and
will be maintained. (and the file detection itself is reliable)
Disable the `main` branch (and nightly run) for now.

This will keep the CI for PRs so at least added scripts pass the current
nu version
2024-03-30 16:37:19 -05:00
Texas Toland
878bfc615c
Refactor toolkit.nu (#791)
Closes #789 🍻

- Runs without first generating a script
- Returns error (file) count
- Requires `--and-exit` to exit with error code
- Enables alternative report with env `STUB_IDE_CHECK=true`
- Expands documentation
- All subcommands share same file querying
- Prepares for nupm test integration
2024-03-15 19:17:31 +02:00
Auca Coyan
c2ef662e48
add a nu-check verification CI (#771)
I made a `toolkit.nu` with a very bare bones struct, this is called via
[`setup-nu`](https://github.com/hustcer/setup-nu) action, and generates
the `check-files.nu` file. After that, another nu instance run that
script to check files one by one. The folder `before_v0.60/` is
excluded.
2024-03-12 20:48:08 +01:00
Darren Schroeder
83ce76d5f2
delete codeowners file (#568)
after running with this for a few months, i'm not really sure of the benefit since 99.9% of the changes are not files owned by codeowners. thanks @Hofer-Julian for helping test this!
2023-08-01 09:49:29 -05:00
Hofer-Julian
80df447c83
Update CODEOWNERS after refactor (#466) 2023-04-26 07:51:03 -05:00
Darren Schroeder
d1a7dbab68
Update CODEOWNERS (#428)
remove core-team from codeowners to see what happens
2023-03-29 16:07:55 -05:00
Hofer-Julian
d984ff61aa
Add CODEOWNERS file (#419)
* Add CODEOWNERS file

On its own, the only thing this does is request reviews from codeowners.
If virtual_environments is touched, @Hofer-Julian will be requested.
Otherwise, @fdncred.
Combined with branch protection rules, this can enforce who is allowed
to review and merge pull requests touching certain parts of the code.

* Add core team
2023-03-23 07:33:23 -05:00