@@ -1,44 +1,44 @@
1-# name: Link Checker [Anaconda, Linux]
2-# on:
3-# pull_request:
4-# types: [opened, reopened]
5-# schedule:
6-# # UTC 12:00 is early morning in Australia
7-# - cron: '0 12 * * *'
8-# jobs:
9-# link-check-linux:
10-# name: Link Checking (${{ matrix.python-version }}, ${{ matrix.os }})
11-# runs-on: ${{ matrix.os }}
12-# strategy:
13-# fail-fast: false
14-# matrix:
15-# os: ["ubuntu-latest"]
16-# python-version: ["3.9"]
17-# steps:
18-# - name: Checkout
19-# uses: actions/checkout@v2
20-# - name: Setup Anaconda
21-# uses: conda-incubator/setup-miniconda@v2
22-# with:
23-# auto-update-conda: true
24-# auto-activate-base: true
25-# miniconda-version: 'latest'
26-# python-version: 3.9
27-# environment-file: environment.yml
28-# activate-environment: quantecon
29-# - name: Download "build" folder (cache)
30-# uses: dawidd6/action-download-artifact@v2
31-# with:
32-# workflow: cache.yml
33-# branch: main
34-# name: build-cache
35-# path: _build
36-# - name: Link Checker
37-# shell: bash -l {0}
38-# run: jb build lectures --path-output=./ --builder=custom --custom-builder=linkcheck
39-# - name: Upload Link Checker Reports
40-# uses: actions/upload-artifact@v2
41-# if: failure()
42-# with:
43-# name: linkcheck-reports
44-# path: _build/linkcheck
1+name: Link Checker [Anaconda, Linux]
2+on:
3+pull_request:
4+types: [opened, reopened]
5+schedule:
6+# UTC 12:00 is early morning in Australia
7+ - cron: '0 12 * * *'
8+jobs:
9+link-check-linux:
10+name: Link Checking (${{ matrix.python-version }}, ${{ matrix.os }})
11+runs-on: ${{ matrix.os }}
12+strategy:
13+fail-fast: false
14+matrix:
15+os: ["ubuntu-latest"]
16+python-version: ["3.10"]
17+steps:
18+ - name: Checkout
19+uses: actions/checkout@v2
20+ - name: Setup Anaconda
21+uses: conda-incubator/setup-miniconda@v2
22+with:
23+auto-update-conda: true
24+auto-activate-base: true
25+miniconda-version: 'latest'
26+python-version: "3.10"
27+environment-file: environment.yml
28+activate-environment: quantecon
29+ - name: Download "build" folder (cache)
30+uses: dawidd6/action-download-artifact@v2
31+with:
32+workflow: cache.yml
33+branch: main
34+name: build-cache
35+path: _build
36+ - name: Link Checker
37+shell: bash -l {0}
38+run: jb build lectures --path-output=./ --builder=custom --custom-builder=linkcheck
39+ - name: Upload Link Checker Reports
40+uses: actions/upload-artifact@v2
41+if: failure()
42+with:
43+name: linkcheck-reports
44+path: _build/linkcheck