Skip to content
Open
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
12 changes: 12 additions & 0 deletions .github/workflows/lean_action_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,25 @@ name: Lean Action CI

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
# TODO - decide if we want to test more versions
# We run lake with '+version' for each version in this array, with the exception of 'from-toolchain'
lean-version: [4.9.0, nightly, from-toolchain]

steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
# For the special 'from-toolchain', we specify an empty string for build args,
# so that lake falls back to our 'lean-toolchain file'
build-args: ${{ matrix.lean-version == 'from-toolchain' && '' || format('+{0}', matrix.lean-version) }}
Loading