setup-util-nu: fix self-load infinite loop with defaults #255
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dorothy-workflow | |
'on': | |
- push | |
- pull_request | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
homebrew-macos-checks: | |
runs-on: macos-latest | |
steps: | |
- name: 'Nu + Dorothy Install' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # prevent rate limiting | |
shell: bash | |
run: | | |
# install nu so is available to dorothy's install configuration | |
brew install nushell | |
# ensure dorothy is cloned, and run command | |
bash -c "$(curl -fsSL 'https://dorothy.bevry.me/install?branch=${{ github.ref_name }}&commit=${{ github.sha }}')" | |
- name: 'Dorothy Login Shell: nu' | |
shell: env RUST_BACKTRACE=1 nu -l --log-level trace -e {0} | |
run: | | |
command-exists dorothy | |
echo-style --success='ok' | |
exit |