From 7d825b54392f2c0d1833aab04a4eaba0cd3883c9 Mon Sep 17 00:00:00 2001 From: Simon Malm Date: Sat, 30 Aug 2025 22:27:28 +0200 Subject: [PATCH] ci: remove nu install --- .github/actions/setup-shell-tools/action.yml | 50 -------------------- .github/workflows/ci.yml | 3 -- 2 files changed, 53 deletions(-) delete mode 100644 .github/actions/setup-shell-tools/action.yml diff --git a/.github/actions/setup-shell-tools/action.yml b/.github/actions/setup-shell-tools/action.yml deleted file mode 100644 index f161d19..0000000 --- a/.github/actions/setup-shell-tools/action.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a93fe62..5b772bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: