Skip to content

Commit 86f10d2

Browse files
committed
Fix CI lint and test workflow
- Export main in test file so toolkit uses `use` resolution (relative to file dir) instead of `source` (fails from repo root) - Match setup-nu version to existing CI (v3.9)
1 parent d1298ea commit 86f10d2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test-auto-venv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
- uses: hustcer/setup-nu@v3.23
19+
- uses: hustcer/setup-nu@v3.9
2020
with:
2121
version: "*"
2222
check-latest: true

modules/virtual_environments/auto-venv/test_auto_venv.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use path_extensions.nu
55
use venv_helpers.nu
66

7-
def main [] {
7+
export def main [] {
88
let test_root = (mktemp -d | path expand)
99
mut results = []
1010

0 commit comments

Comments
 (0)