Skip to content

Commit d2f9d83

Browse files
chore: Replace asdf->mise
1 parent 57622f5 commit d2f9d83

File tree

3 files changed

+10
-33
lines changed

3 files changed

+10
-33
lines changed

.github/workflows/scip-docker.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v3
17-
- name: Install asdf.
18-
uses: asdf-vm/actions/setup@v2.1.0
19-
- name: Cache asdf and asdf-managed tools.
20-
uses: actions/cache@v4
21-
id: asdf-cache
17+
- name: Install mise
18+
uses: jdx/mise-action@v2
2219
with:
23-
path: ${{ env.ASDF_DIR }}
24-
key: asdf-${{ runner.os}}-${{ hashFiles('**/.tool-versions') }}
25-
- name: Install asdf tools (if not cached).
26-
if: steps.asdf-cache.outputs.cache-hit != 'true'
27-
uses: asdf-vm/actions/install@v2.1.0
20+
version: 'latest'
2821
- name: Get npm cache directory
2922
id: npm-cache
3023
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT

.github/workflows/scip-snapshot.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,10 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
steps:
1717
- uses: actions/checkout@v3
18-
- name: Install asdf.
19-
uses: asdf-vm/actions/setup@v2.1.0
20-
- name: Cache asdf and asdf-managed tools.
21-
uses: actions/cache@v4
22-
id: asdf-cache
18+
- name: Install mise
19+
uses: jdx/mise-action@v2
2320
with:
24-
path: ${{ env.ASDF_DIR }}
25-
key: asdf-${{ runner.os}}-${{ hashFiles('**/.tool-versions') }}
26-
- name: Install asdf tools (if not cached).
27-
if: steps.asdf-cache.outputs.cache-hit != 'true'
28-
uses: asdf-vm/actions/install@v2.1.0
21+
version: 'latest'
2922
- name: Get npm cache directory
3023
id: npm-cache
3124
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT

packages/pyright-scip/CONTRIBUTING.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,18 @@
1111

1212
### Installing dependencies
1313

14-
1. Install [ASDF](https://asdf-vm.com/guide/getting-started.html).
14+
1. Install [mise](https://mise.jdx.dev/getting-started.html).
1515
2. Install the correct versions of Node and Python:
1616

1717
```bash
18-
asdf plugin add nodejs
19-
asdf plugin add python
18+
mise plugin install nodejs
19+
mise plugin install python
2020
# Install appropriate Node and Python versions based on .tool-versions
21-
asdf install
21+
mise install
2222
```
2323

2424
You may need to restart your shell for the changes to take effect.
2525

26-
NOTE: On Linux, ASDF may try to install Python from source instead of
27-
using prebuilt binaries. In that case, you need to install a bunch of
28-
other dependencies first:
29-
30-
```bash
31-
sudo apt update
32-
sudo apt install -y build-essential zlib1g-dev libssl-dev libbz2-dev libsqlite3-dev libncurses-dev libffi-dev readline-common libreadline-dev liblzma-dev
33-
```
34-
3526
3. Install dependencies:
3627
```bash
3728
# From the root of the repo

0 commit comments

Comments
 (0)