Skip to content

Commit

Permalink
πŸ‘·πŸ»β€β™‚οΈ Split mise & just installed into separate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
phatblat committed Feb 25, 2024
1 parent fb36470 commit f7475ee
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,20 @@ jobs:
run:
shell: bash
steps:
- name: πŸ“² Install Tools
- name: πŸ“² Install `mise`
run: |
which mise
if [[ ! -x "$(command -v mise)" ]]; then
curl --no-progress-meter https://mise.jdx.dev/install.sh | sh
fi
which mise
# MISE is installed to ~/.local/bin/mise
if [[ ! -x "~/.local/bin/mise" ]]; then
echo "~/.local/bin/mise is not executable!"
return 1
fi
echo 'export PATH="~.local/bin:$PATH";' >> ~/.bashrc
# hook-env command primes non-interactive shells
echo 'eval "$(mise hook-env --shell=bash)"' >> ~/.bashrc
# echo "eval \"\$(mise activate bash)\"" >> ~/.bashrc
source ~/.bashrc
- name: πŸ“² Install `just`
run: |
which mise
mise settings set experimental true
mise install --verbose
mise list --verbose
Expand Down

0 comments on commit f7475ee

Please sign in to comment.