From 6fe0c7ab36f05b41f06a8aa2de419ac8177c2559 Mon Sep 17 00:00:00 2001 From: Jon Eugster Date: Tue, 20 Aug 2024 12:50:32 +0200 Subject: [PATCH] update workflow --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cbc55fa..eab7b45 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,9 +35,10 @@ jobs: - name: install elan (macOS) if: matrix.os == 'macos-latest' run: | - curl -fsSL https://raw.githubusercontent.com/leanprover-community/mathlib4/master/scripts/install_macos.sh > install_macos.sh - chmod a+x install_macos.sh - yes | ./install_macos.sh + set -exo pipefail + curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh + elan toolchain install stable -y + elan default stable -y source ~/.profile - name: run lake build (macOS) if: matrix.os == 'macos-latest'