Skip to content

Commit

Permalink
🔧 Switch back to installing mise through brew
Browse files Browse the repository at this point in the history
  • Loading branch information
phatblat committed Feb 25, 2024
1 parent f12aef5 commit 8fd8d6c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,18 @@ jobs:
steps:
- name: 📲 Install `mise`
run: |
echo "PATH: $PATH"
if [[ ! -x "$(command -v mise)" ]]; then
curl --no-progress-meter https://mise.jdx.dev/install.sh | sh
brew install mise
fi
ls -l ~/.local/bin/mise
echo "PATH: $PATH"
export PATH="~.local/bin:$PATH";
which mise
command -v mise
eval "$(mise hook-env --shell=bash)"
mise doctor
if [[ ! -x "~/.local/bin/mise" ]]; then
echo "~/.local/bin/mise is not executable!"
if [[ ! -x "mise" ]]; then
echo "mise is not executable!"
return 1
fi
echo 'export PATH="~.local/bin:$PATH";' >> ~/.bashrc
echo 'eval "$(mise hook-env --shell=bash)"' >> ~/.bashrc
- name: 📲 Install `just`
run: |
Expand Down

0 comments on commit 8fd8d6c

Please sign in to comment.