mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-10-26 13:55:28 +03:00
878bfc615c
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
28 lines
766 B
YAML
28 lines
766 B
YAML
on:
|
|
pull_request:
|
|
|
|
env:
|
|
NUSHELL_CARGO_PROFILE: ci
|
|
NU_LOG_LEVEL: DEBUG
|
|
|
|
jobs:
|
|
nu-check:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: "Fetch main branch"
|
|
run: |
|
|
git fetch origin main --depth 1
|
|
- uses: hustcer/setup-nu@v3.9
|
|
with:
|
|
version: "*"
|
|
check-latest: true
|
|
features: full # dataframe and extra included
|
|
- name: toolkit check pr
|
|
shell: nu {0}
|
|
# nix STUB_IDE_CHECK when nushell/nushell#12208 fixed
|
|
run: |
|
|
use ${{ github.workspace }}/toolkit.nu *
|
|
STUB_IDE_CHECK=true check pr --and-exit
|