Skip to content

Commit 1fc1f00

Browse files
committed
Merge branch 'master' of github.com:leanprover/lean4
2 parents 8ec73c2 + 7f0fe20 commit 1fc1f00

File tree

879 files changed

+804841
-724923
lines changed

Some content is hidden

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

879 files changed

+804841
-724923
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Please put an X between the brackets as you perform the following steps:
3939

4040
### Versions
4141

42-
[Output of `#eval Lean.versionString`]
42+
[Output of `#version` or `#eval Lean.versionString`]
4343
[OS version, if not using live.lean-lang.org.]
4444

4545
### Additional Information

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
commit-message:
8+
prefix: "chore: CI"

.github/workflows/actionlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919
- name: actionlint
20-
uses: raven-actions/actionlint@v1
20+
uses: raven-actions/actionlint@v2
2121
with:
2222
pyflakes: false # we do not use python scripts

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jobs:
217217
"release": true,
218218
"check-level": 2,
219219
"shell": "msys2 {0}",
220-
"CMAKE_OPTIONS": "-G \"Unix Makefiles\" -DUSE_GMP=OFF",
220+
"CMAKE_OPTIONS": "-G \"Unix Makefiles\"",
221221
// for reasons unknown, interactivetests are flaky on Windows
222222
"CTEST_OPTIONS": "--repeat until-pass:2",
223223
"llvm-url": "https://github.com/leanprover/lean-llvm/releases/download/15.0.1/lean-llvm-x86_64-w64-windows-gnu.tar.zst",
@@ -227,7 +227,7 @@ jobs:
227227
{
228228
"name": "Linux aarch64",
229229
"os": "nscloud-ubuntu-22.04-arm64-4x8",
230-
"CMAKE_OPTIONS": "-DUSE_GMP=OFF -DLEAN_INSTALL_SUFFIX=-linux_aarch64",
230+
"CMAKE_OPTIONS": "-DLEAN_INSTALL_SUFFIX=-linux_aarch64",
231231
"release": true,
232232
"check-level": 2,
233233
"shell": "nix develop .#oldGlibcAArch -c bash -euxo pipefail {0}",
@@ -318,7 +318,7 @@ jobs:
318318
if: github.event_name == 'pull_request'
319319
# (needs to be after "Checkout" so files don't get overridden)
320320
- name: Setup emsdk
321-
uses: mymindstorm/setup-emsdk@v12
321+
uses: mymindstorm/setup-emsdk@v14
322322
with:
323323
version: 3.1.44
324324
actions-cache-folder: emsdk
@@ -415,7 +415,11 @@ jobs:
415415
- name: Test
416416
id: test
417417
run: |
418-
time ctest --preset ${{ matrix.CMAKE_PRESET || 'release' }} --test-dir build/stage1 -j$NPROC --output-junit test-results.xml ${{ matrix.CTEST_OPTIONS }}
418+
# give Linux debug unlimited stack, we're not interested in its specific stack usage
419+
if [[ '${{ matrix.name }}' == 'Linux Debug' ]]; then
420+
ulimit -s unlimited
421+
fi
422+
time ctest --preset ${{ matrix.CMAKE_PRESET || 'release' }} --test-dir build/stage1 -j$NPROC --output-junit test-results.xml ${{ matrix.CTEST_OPTIONS }} -E "leanruntest_task_test_io"
419423
if: (matrix.wasm || !matrix.cross) && needs.configure.outputs.check-level >= 1
420424
- name: Test Summary
421425
uses: test-summary/action@v2
@@ -492,7 +496,7 @@ jobs:
492496
with:
493497
path: artifacts
494498
- name: Release
495-
uses: softprops/action-gh-release@v1
499+
uses: softprops/action-gh-release@v2
496500
with:
497501
files: artifacts/*/*
498502
fail_on_unmatched_files: true
@@ -536,7 +540,7 @@ jobs:
536540
echo -e "\n*Full commit log*\n" >> diff.md
537541
git log --oneline "$last_tag"..HEAD | sed 's/^/* /' >> diff.md
538542
- name: Release Nightly
539-
uses: softprops/action-gh-release@v1
543+
uses: softprops/action-gh-release@v2
540544
with:
541545
body_path: diff.md
542546
prerelease: true

.github/workflows/nix-ci.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@ jobs:
110110
# https://github.com/netlify/cli/issues/1809
111111
cp -r --dereference ./result ./dist
112112
if: matrix.name == 'Nix Linux'
113-
- name: Check manual for broken links
114-
id: lychee
115-
uses: lycheeverse/lychee-action@v1.9.0
116-
with:
117-
fail: false # report errors but do not block CI on temporary failures
118-
# gmplib.org consistently times out from GH actions
119-
# the GitHub token is to avoid rate limiting
120-
args: --base './dist' --no-progress --github-token ${{ secrets.GITHUB_TOKEN }} --exclude 'gmplib.org' './dist/**/*.html'
121113
- name: Rebuild Nix Store Cache
122114
run: |
123115
rm -rf nix-store-cache || true
@@ -129,7 +121,7 @@ jobs:
129121
python3 -c 'import base64; print("alias="+base64.urlsafe_b64encode(bytes.fromhex("${{github.sha}}")).decode("utf-8").rstrip("="))' >> "$GITHUB_OUTPUT"
130122
echo "message=`git log -1 --pretty=format:"%s"`" >> "$GITHUB_OUTPUT"
131123
- name: Publish manual to Netlify
132-
uses: nwtgck/actions-netlify@v2.0
124+
uses: nwtgck/actions-netlify@v3.0
133125
id: publish-manual
134126
with:
135127
publish-dir: ./dist

.github/workflows/pr-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Download artifact from the previous workflow.
3535
if: ${{ steps.workflow-info.outputs.pullRequestNumber != '' }}
3636
id: download-artifact
37-
uses: dawidd6/action-download-artifact@v2 # https://github.com/marketplace/actions/download-workflow-artifact
37+
uses: dawidd6/action-download-artifact@v6 # https://github.com/marketplace/actions/download-workflow-artifact
3838
with:
3939
run_id: ${{ github.event.workflow_run.id }}
4040
path: artifacts
@@ -60,7 +60,7 @@ jobs:
6060
GH_TOKEN: ${{ secrets.PR_RELEASES_TOKEN }}
6161
- name: Release
6262
if: ${{ steps.workflow-info.outputs.pullRequestNumber != '' }}
63-
uses: softprops/action-gh-release@v1
63+
uses: softprops/action-gh-release@v2
6464
with:
6565
name: Release for PR ${{ steps.workflow-info.outputs.pullRequestNumber }}
6666
# There are coredumps files here as well, but all in deeper subdirectories.
@@ -75,7 +75,7 @@ jobs:
7575

7676
- name: Report release status
7777
if: ${{ steps.workflow-info.outputs.pullRequestNumber != '' }}
78-
uses: actions/github-script@v6
78+
uses: actions/github-script@v7
7979
with:
8080
script: |
8181
await github.rest.repos.createCommitStatus({
@@ -111,7 +111,7 @@ jobs:
111111
112112
- name: 'Setup jq'
113113
if: ${{ steps.workflow-info.outputs.pullRequestNumber != '' }}
114-
uses: dcarbone/install-jq-action@v1.0.1
114+
uses: dcarbone/install-jq-action@v2.1.0
115115

116116
# Check that the most recently nightly coincides with 'git merge-base HEAD master'
117117
- name: Check merge-base and nightly-testing-YYYY-MM-DD
@@ -208,7 +208,7 @@ jobs:
208208
209209
- name: Report mathlib base
210210
if: ${{ steps.workflow-info.outputs.pullRequestNumber != '' && steps.ready.outputs.mathlib_ready == 'true' }}
211-
uses: actions/github-script@v6
211+
uses: actions/github-script@v7
212212
with:
213213
script: |
214214
const description =

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
stale:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/stale@v8
14+
- uses: actions/stale@v9
1515
with:
1616
days-before-stale: -1
1717
days-before-pr-stale: 30

0 commit comments

Comments
 (0)