Skip to content
Open
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions .github/workflows/lean_action_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Lean Action CI

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: leanprover/lean-action@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.lake
4 changes: 4 additions & 0 deletions Main.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import ShellWall

def main : IO Unit :=
IO.println s!"Hello, {hello}!"
3 changes: 3 additions & 0 deletions ShellWall.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- This module serves as the root of the `ShellWall` library.
-- Import modules here that should be built as part of the library.
import ShellWall.Basic
1 change: 1 addition & 0 deletions ShellWall/Basic.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
def hello := "world"
5 changes: 5 additions & 0 deletions lake-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{"version": "1.1.0",
"packagesDir": ".lake/packages",
"packages": [],
"name": "ShellWall",
"lakeDir": ".lake"}
10 changes: 10 additions & 0 deletions lakefile.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name = "ShellWall"
version = "0.1.0"
defaultTargets = ["shellwall"]

[[lean_lib]]
name = "ShellWall"

[[lean_exe]]
name = "shellwall"
root = "Main"
1 change: 1 addition & 0 deletions lean-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
leanprover/lean4:v4.29.1