Skip to content
Merged
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
10 changes: 9 additions & 1 deletion .github/workflows/lean_action_ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
# based on https://github.com/leanprover/lean-action/blob/HEAD/README.md

name: Lean Action CI

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:

jobs:
build:
build_and_test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: leanprover/lean-action@v1
with:
build: true
test: true
check-reservoir-eligibility: true
22 changes: 22 additions & 0 deletions .github/workflows/release_on_lean_update_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# base on https://github.com/leanprover-community/lean-release-tag/blob/HEAD/README.md

on:
push:
branches:
- 'main'
- 'master'
paths:
- 'lean-toolchain'

jobs:
lean-release-tag:
name: Add Lean release tag
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: lean-release-tag action
uses: leanprover-community/lean-release-tag@v1
with:
do-release: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}