Skip to content

Commit 8441ec6

Browse files
Fix CI workflow YAML syntax
1 parent 1428948 commit 8441ec6

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
name: Lean build
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
46

57
jobs:
68
build:
79
runs-on: ubuntu-latest
8-
steps:
9-
- uses: actions/checkout@v4
1010

1111
```
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
1216
- name: Install Lean
1317
uses: leanprover/lean-action@v1
1418
15-
- name: Fetch cache
19+
- name: Fetch mathlib cache
1620
run: lake exe cache get
1721
18-
- name: Build
22+
- name: Build project
1923
run: lake build
2024
```
2125

0 commit comments

Comments
 (0)