Skip to content

Commit 97514bf

Browse files
committed
build: Set default toolchain
1 parent 31ffc24 commit 97514bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
set -o pipefail
2323
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.1.1/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
24-
./elan-init -y --default-toolchain none
24+
./elan-init -y --default-toolchain $(<src/lean-toolchain)
2525
echo "$HOME/.elan/bin" >> "${GITHUB_PATH}"
2626
2727
- name: Install Lean
@@ -31,6 +31,7 @@ jobs:
3131
- name: Install uv
3232
run: |
3333
curl -LsSf https://astral.sh/uv/install.sh | sh
34+
elan default $(<src/lean-toolchain)
3435
uv sync
3536
3637
- name: Run tests

0 commit comments

Comments
 (0)