Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a step that logs the version of lake and lean #24

Merged
merged 9 commits into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/detect_mathlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if grep -q "$dot_lean_pattern" lakefile.lean || grep -Pzq "$dot_toml_pattern" la
echo "DETECTED_MATHLIB=true" >> "$GITHUB_OUTPUT"
echo "Project is downstream of Mathlib. Using Mathlib cache."
else
echo "DETECTED_MATHLIB=false" >> "$GITHUB_OUTPUT"
echo "Project is not downstream of Mathlib. Skipping Mathlib cache."
fi

Expand Down
2 changes: 2 additions & 0 deletions scripts/install_elan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ set -o pipefail
curl -sSfL https://github.com/leanprover/elan/releases/download/v1.4.2/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
./elan-init -y --default-toolchain none
echo "$HOME/.elan/bin" >> "$GITHUB_PATH"
"$HOME"/.elan/bin/lean --version
"$HOME"/.elan/bin/lake --version

echo "::endgroup::"