Skip to content

Merge pull request #9 from pelasgus/dependabot/cargo/serde-1.0.217 #30

Merge pull request #9 from pelasgus/dependabot/cargo/serde-1.0.217

Merge pull request #9 from pelasgus/dependabot/cargo/serde-1.0.217 #30

Workflow file for this run

name: Test setup_nu Action
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-setup-nu:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl tar gnupg build-essential
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
- name: Build and Test setup_nu
run: |
cargo build --release
./target/release/setup_nu
- name: Verify Nushell Installation
run: |
if ! command -v nu &> /dev/null; then
echo "Nushell was not installed correctly"
exit 1
fi
echo "Nushell installation test passed."