Skip to content

Commit 6b1bbc9

Browse files
Update lean-toolchain for leanprover/lean4#8883
2 parents df1d26d + 8684027 commit 6b1bbc9

File tree

5,568 files changed

+174288
-94410
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,568 files changed

+174288
-94410
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ In particular, note that most reviewers will only notice your PR
1111
if it passes the continuous integration checks.
1212
Please ask for help on https://leanprover.zulipchat.com if needed.
1313
14-
To indicate co-authors, include lines at the bottom of the commit message
15-
(that is, before the `---`) using the following format:
14+
To indicate co-authors, include at least one commit authored by each
15+
co-author among the commits in the pull request. If necessary, you may
16+
create empty commits to indicate co-authorship, using commands like so:
17+
18+
git commit --author="Author Name <author@email.com>" --allow-empty -m "add Author Name as coauthor"
1619
17-
Co-authored-by: Author Name <author@email.com>
20+
When merging, all the commits will be squashed into a single commit listing all co-authors.
1821
1922
If you are moving or deleting declarations, please include these lines at the bottom of the commit message
2023
(that is, before the `---`) using the following format:

.github/actionlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ self-hosted-runner:
22
labels:
33
- bors
44
- pr
5+
- doc-gen

.github/build.in.yml

Lines changed: 241 additions & 43 deletions
Large diffs are not rendered by default.

.github/workflows/PR_summary.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
build:
1414
name: "post-or-update-summary-comment"
1515
runs-on: ubuntu-latest
16+
if: github.repository == 'leanprover-community/mathlib4'
1617

1718
steps:
1819
- name: Checkout code
@@ -85,7 +86,7 @@ jobs:
8586
git diff --name-only --diff-filter D origin/${{ github.base_ref }}... | tee removed_files.txt
8687
echo "Checking for renamed files..."
8788
88-
# Shows the `R`enamed files, in human readable format
89+
# Shows the `R`enamed files, in human-readable format
8990
# The `awk` pipe
9091
# * extracts into an array the old name as the key and the new name as the value
9192
# * eventually prints "`oldName` was renamed to `newName`" for each key-value pair.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: automatically assign reviewers
2+
3+
on:
4+
schedule:
5+
- cron: "37 0 * * *" # At 00:37 UTC every day
6+
workflow_dispatch:
7+
8+
jobs:
9+
autoassign-reviewers:
10+
if: github.repository == 'leanprover-community/mathlib4'
11+
name: assign automatically proposed reviewers
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
with:
16+
ref: master
17+
sparse-checkout: |
18+
scripts/assign_reviewers.py
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
22+
with:
23+
python-version: '3.x'
24+
25+
- name: assign reviewers
26+
env:
27+
ASSIGN_REVIEWERS_TOKEN: ${{ secrets.ASSIGN_REVIEWERS }}
28+
run: |
29+
python3 scripts/assign_reviewers.py

.github/workflows/bors.yml

Lines changed: 246 additions & 48 deletions
Large diffs are not rendered by default.

.github/workflows/bot_fix_style.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# && (startsWith(github.event.comment.body, 'bot fix style') || contains(toJSON(github.event.comment.body), '\nbot fix style'))
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: leanprover-community/lint-style-action@f2e7272aad56233a642b08fe974cf09dd664b0c8 # 2025-05-22
30+
- uses: leanprover-community/lint-style-action@a7e7428fa44f9635d6eb8e01919d16fd498d387a # 2025-08-18
3131
with:
3232
mode: fix
3333
lint-bib-file: true

.github/workflows/build.yml

Lines changed: 246 additions & 48 deletions
Large diffs are not rendered by default.

.github/workflows/build_fork.yml

Lines changed: 241 additions & 43 deletions
Large diffs are not rendered by default.

.github/workflows/daily.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Daily CI Workflow
33
# running some expensive CI checks that we don't want to run on every PR.
44
# It reports results via Zulip.
55

6+
# This script requires that the ZULIP_API_KEY secret is available in both
7+
# `leanprover-community/mathlib4` and `leanprover-community/mathlib4-nightly-testing`
8+
# repositories.
9+
610
on:
711
schedule:
812
- cron: '0 0 * * *' # Runs at 00:00 UTC every day
@@ -15,7 +19,7 @@ env:
1519
jobs:
1620
check-lean4checker:
1721
runs-on: ubuntu-latest
18-
if: github.repository == 'leanprover-community/mathlib4'
22+
if: github.repository == 'leanprover-community/mathlib4' || github.repository == 'leanprover-community/mathlib4-nightly-testing'
1923
strategy:
2024
matrix:
2125
branch_type: [master, nightly]
@@ -38,7 +42,9 @@ jobs:
3842
- name: Fetch latest tags (if nightly)
3943
if: matrix.branch_type == 'nightly'
4044
run: |
41-
git fetch --tags
45+
# When in nightly mode, fetch tags from the nightly-testing repository
46+
git remote add nightly-testing https://github.com/leanprover-community/mathlib4-nightly-testing.git
47+
git fetch nightly-testing --tags
4248
LATEST_TAG=$(git tag | grep -E "${{ env.TAG_PATTERN }}" | sort -r | head -n 1)
4349
echo "LATEST_TAG=${LATEST_TAG}" >> "$GITHUB_ENV"
4450
@@ -54,6 +60,7 @@ jobs:
5460
- name: Checkout branch or tag
5561
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5662
with:
63+
repository: ${{ matrix.branch_type == 'nightly' && 'leanprover-community/mathlib4-nightly-testing' || github.repository }}
5764
ref: ${{ env.BRANCH_REF }}
5865

5966
- name: Configure Lean
@@ -112,7 +119,7 @@ jobs:
112119
api-key: ${{ secrets.ZULIP_API_KEY }}
113120
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
114121
organization-url: 'https://leanprover.zulipchat.com'
115-
to: 'mathlib reviewers'
122+
to: 'nightly-testing'
116123
type: 'stream'
117124
topic: 'lean4checker'
118125
content: |
@@ -125,7 +132,7 @@ jobs:
125132
api-key: ${{ secrets.ZULIP_API_KEY }}
126133
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
127134
organization-url: 'https://leanprover.zulipchat.com'
128-
to: 'mathlib reviewers'
135+
to: 'nightly-testing'
129136
type: 'stream'
130137
topic: 'mathlib test executable'
131138
content: |
@@ -138,7 +145,7 @@ jobs:
138145
api-key: ${{ secrets.ZULIP_API_KEY }}
139146
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
140147
organization-url: 'https://leanprover.zulipchat.com'
141-
to: 'mathlib reviewers'
148+
to: 'nightly-testing'
142149
type: 'stream'
143150
topic: 'lean4checker failure'
144151
content: |
@@ -152,7 +159,7 @@ jobs:
152159
api-key: ${{ secrets.ZULIP_API_KEY }}
153160
email: 'github-mathlib4-bot@leanprover.zulipchat.com'
154161
organization-url: 'https://leanprover.zulipchat.com'
155-
to: 'mathlib reviewers'
162+
to: 'nightly-testing'
156163
type: 'stream'
157164
topic: 'mathlib test executable failure'
158165
content: |

0 commit comments

Comments
 (0)