Skip to content

Commit

Permalink
refactor: use lean-action in makefile.yml CI workflow (#102)
Browse files Browse the repository at this point in the history
### Description:

`lean-action` now supports the macOS runner so you can now use it in
makefile.yml


### License:

By submitting this pull request, I confirm that my contribution is
made under the terms of the Apache 2.0 license.

Closes #82

---------

Co-authored-by: Shilpi Goel <[email protected]>
  • Loading branch information
austinletson and shigoel authored Aug 21, 2024
1 parent 5f90bf9 commit 4fec93c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ jobs:

- uses: actions/checkout@v4

# We would like to use `leanprover/lean-action`, but it doesn't work on macOS just yet:
# https://github.com/leanprover/lean-action/issues/83
- name: Install elan
run: |
set -o pipefail
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- --default-toolchain none -y
~/.elan/bin/lean --version
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- uses: leanprover/lean-action@v1
with:
auto-config: false
use-mathlib-cache: false
use-github-cache: true

- name: Cache `.lake` folder
id: cache-lake
Expand Down

0 comments on commit 4fec93c

Please sign in to comment.