Skip to content
Snippets Groups Projects

refactor CI and Makefile for Nushell installation

Merged STEVAN Antoine requested to merge refactor-ci-and-makefile into main
Files
3
+ 7
5
@@ -31,11 +31,13 @@ jobs:
sudo apt update --yes
sudo apt upgrade --yes
sudo apt install protobuf-compiler --yes
- uses: hustcer/setup-nu@v3
with:
version: "0.95"
- name: Install Nushell
run: |
# looks like the following PATH export does not work and `NU` still needs to be set for some reason to invoke `make`...
echo "PATH=\"$(make print-NU_DEST):$PATH\"" >> $GITHUB_ENV
make install-nu
- name: Show configuration
run: make show
run: make NU="$(make print-NU_DEST)/nu" show
- name: Run tests
run: |
make check clippy test example
make NU="$(make print-NU_DEST)/nu" check clippy test example
Loading