Skip to content

Commit

Permalink
Merge pull request #9 from austinletson/switch-ci-to-lean-action
Browse files Browse the repository at this point in the history
chore: use lean-action@v1-alpha
  • Loading branch information
semorrison committed May 13, 2024
2 parents ffb7326 + 919c6b0 commit 35e38eb
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install elan
run: |
set -o pipefail
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.0.0/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
./elan-init -y
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1-alpha
with:
check-reservoir-eligibility: true
# use setup from lean-action to perform the following steps
- name: print lean and lake versions
run: |
lean --version
lake --version
- run: lake build
- name: verify `lake exe graph` works
run: |
lake exe graph
rm import_graph.dot
- name: run tests
id: test
run: |
lake test

0 comments on commit 35e38eb

Please sign in to comment.