-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 1.17 KB
/
ci-lean.yml
File metadata and controls
42 lines (33 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# ============================================================
# .github/workflows/ci-lean.yml (Continuous Integration)
# ============================================================
# Updated: 2026-04-28 THEORY VARIANT, ONLY BUILD
name: CI Lean
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
lean:
name: Build Lean and export contract
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
# ============================================================
# A) ASSEMBLE: Get code and set up Lean
# ============================================================
- name: A1) Checkout repository code
uses: actions/checkout@v6
- name: A2) Set up Lean toolchain
uses: leanprover/lean-action@v1
# ============================================================
# B) BUILD: Compile Lean project
# ============================================================
- name: B1) Build Lean project
run: lake build
# WHY: Compiles the Lean formal contract surface.
# OBS: Uses the Lean version declared in lean-toolchain.