Updated gates #157
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: push | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
timeout-minutes: 600 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Install Elan | |
run: | | |
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y -v --default-toolchain leanprover/lean4:nightly | |
echo "LAKE_VERSION=$(~/.elan/bin/lake --version)" >> $GITHUB_ENV | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: lake-packages | |
key: "${{ env.LAKE_VERSION }}" | |
- name: Build project | |
run: | | |
~/.elan/bin/lake exe cache get | |
~/.elan/bin/lake build |