ci: remove nu install
Some checks failed
CI / security (push) Failing after 1m31s
CI / test (push) Failing after 1m31s
CI / docker-build (push) Has been skipped

This commit is contained in:
2025-08-30 22:27:28 +02:00
parent 310738c82d
commit 7d825b5439
2 changed files with 0 additions and 53 deletions

View File

@@ -1,50 +0,0 @@
name: 'Setup Shell Tools'
description: 'Sets up Nushell and Just for cross-platform development'
branding:
icon: 'terminal'
color: 'purple'
outputs:
nu-version:
description: 'Installed Nushell version'
value: ${{ steps.nu-info.outputs.version }}
just-version:
description: 'Installed Just version'
value: ${{ steps.just-info.outputs.version }}
runs:
using: 'composite'
steps:
- name: Setup Nushell
run: |
# Install Nushell following official docs
curl -s https://api.github.com/repos/nushell/nushell/releases/latest \
| grep "browser_download_url.*x86_64-unknown-linux-gnu" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
tar xf nu-*-x86_64-unknown-linux-gnu.tar.gz
sudo mkdir -p /usr/local/bin
sudo cp nu-*/nu /usr/local/bin/
sudo chmod +x /usr/local/bin/nu
echo "/usr/local/bin" >> $GITHUB_PATH
# Add to current PATH for immediate use
export PATH="/usr/local/bin:$PATH"
# Verify installation and set as default shell
nu --version
echo "SHELL=/usr/local/bin/nu" >> $GITHUB_ENV
shell: bash
- name: Get Nushell version
id: nu-info
run: echo "version=$(/usr/local/bin/nu --version | head -n1)" >> $GITHUB_OUTPUT
shell: bash
- name: Setup Just
uses: extractions/setup-just@v2
shell: bash
- name: Get Just version
id: just-info
run: echo "version=$(just --version)" >> $GITHUB_OUTPUT
shell: bash

View File

@@ -17,9 +17,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Shell Tools
uses: ./.github/actions/setup-shell-tools
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with: