We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 698913d commit d083eadCopy full SHA for d083ead
.github/workflows/update.yml
@@ -0,0 +1,26 @@
1
+name: Update Lean Project
2
+
3
+on:
4
+ schedule:
5
+ - cron: "0 10 * * *" # every day
6
+ workflow_dispatch: # allows workflow to be triggered manually
7
8
+jobs:
9
+ update_lean:
10
+ permissions:
11
+ contents: write
12
+ pull-requests: write
13
+ issues: write
14
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v4
19
+ - name: Get latest Lean nightly
20
+ run: curl -s release.lean-lang.org | jq -r '.nightly[0].name' | sed 's/^/leanprover\/lean4:/' > lean-toolchain
21
+ - name: Update Lean project
22
+ uses: leanprover-community/lean-update@main
23
+ with:
24
+ update_if_modified: lean-toolchain
25
+ on_update_succeeds: "commit"
26
+ on_update_fails: "pr"
0 commit comments