Skip to content

Merge pull request #148 from leanprover-community/bryangingechen-patch-1 #22

Merge pull request #148 from leanprover-community/bryangingechen-patch-1

Merge pull request #148 from leanprover-community/bryangingechen-patch-1 #22

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install elan
run: |
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain $(cat lean-toolchain)
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: Cache dependencies
uses: actions/cache@v3
with:
path: .lake
key: deps-${{ runner.os }}-${{ hashFiles('lean-toolchain') }}-${{ hashFiles('lake-manifest.json') }}
restore-keys: |
deps-${{ runner.os }}-${{ hashFiles('lean-toolchain') }}
- name: lake build
run: lake build --quiet