From cecb77a81ac714601bf7b1897a6ecff2702d20f1 Mon Sep 17 00:00:00 2001 From: Texas Toland Date: Thu, 14 Mar 2024 11:15:08 -0500 Subject: [PATCH] Enable stub and simplify CI command --- .github/workflows/ci.yml | 6 ++++-- .github/workflows/daily.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99bb08209..dc505ca05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: check-latest: true features: full # dataframe and extra included - name: toolkit check pr - shell: nu {0} + shell: nu -I "$GITHUB_WORKSPACE" {0} + # nix STUB_IDE_CHECK when nushell/nushell#12208 fixed run: | - nu --commands 'use toolkit.nu *; check pr --and-exit' + use toolkit.nu * + STUB_IDE_CHECK=true check pr --and-exit diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 9c1911e60..0604540aa 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -24,6 +24,8 @@ jobs: check-latest: true features: full # dataframe and extra included - name: toolkit check pr --full - shell: nu {0} + shell: nu -I $GITHUB_WORKSPACE {0} + # nix STUB_IDE_CHECK when nushell/nushell#12208 fixed run: | - nu --commands 'use toolkit.nu *; check pr --full --and-exit' + use toolkit.nu * + STUB_IDE_CHECK=true check pr --full --and-exit