Skip to content

Commit cb294b9

Browse files
committed
wip
1 parent 8b743fb commit cb294b9

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,27 @@ jobs:
2525
steps:
2626
- name: install elan
2727
run: |
28-
# set -o pipefail
28+
set -o pipefail
2929
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain none
30-
# curl -sSfL https://github.com/leanprover/elan/releases/download/v4.1.2/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
31-
# elan-init -y --default-toolchain none
3230
echo "$HOME/.elan/bin" >> "$GITHUB_PATH"
31+
shell: bash
3332

3433
- uses: actions/checkout@v5
3534

3635
- name: List all files
3736
run: |
38-
bash -c "find . -name \"*.lean\" -type f"
37+
find . -name \"*.lean\" -type f
38+
shell: bash
3939

4040
- name: lean version
4141
run: |
4242
lean --version
43+
shell: bash
4344

4445
- name: Compute short SHA
4546
id: shortSHA
4647
run: echo "short_sha=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
48+
shell: bash
4749

4850
- name: Cache .lake
4951
uses: actions/cache@v4
@@ -64,10 +66,12 @@ jobs:
6466
lake build
6567
lake build :examples
6668
popd
69+
shell: bash
6770

6871
- name: Build the project
6972
run: |
7073
lake build
74+
shell: bash
7175

7276
- name: Install PDF Dependencies
7377
uses: zauguin/install-texlive@v4
@@ -114,23 +118,28 @@ jobs:
114118
115119
- name: Check `tlmgr` version
116120
run: tlmgr --version
121+
shell: bash
117122

118123
- name: Run tests
119124
run: |
120125
lake test -- --verbose --check-tex
126+
shell: bash
121127

122128
- name: Generate the test website
123129
run: |
124130
lake exe demosite --output _out/test-projects/demosite
131+
shell: bash
125132

126133
- name: Generate the test genre's document
127134
run: |
128135
lake exe simplepage
136+
shell: bash
129137

130138
- name: Generate some source HTML
131139
run: |
132140
lake build Verso.Hover:literate
133141
lake exe verso-html .lake/build/literate htmlout
142+
shell: bash
134143

135144
- name: Check internal links on the test website
136145
uses: lycheeverse/[email protected]

0 commit comments

Comments
 (0)