Skip to content

Commit 5baf08b

Browse files
authored
MAINT: update CI versions + anaconda==2024.02 (#309)
* MAINT: update CI versions + anaconda==2024.02 * TMP: disable cache for full execution check * add python and conda packages to status page * Revert "TMP: disable cache for full execution check" This reverts commit 4754906.
1 parent a60d221 commit 5baf08b

File tree

8 files changed

+36
-23
lines changed

8 files changed

+36
-23
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ jobs:
44
preview:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
7+
- uses: actions/checkout@v4
88
- name: Setup Anaconda
9-
uses: conda-incubator/setup-miniconda@v2
9+
uses: conda-incubator/setup-miniconda@v3
1010
with:
1111
auto-update-conda: true
1212
auto-activate-base: true
@@ -34,7 +34,7 @@ jobs:
3434
shell: bash -l {0}
3535
run: pip list
3636
- name: Download "build" folder (cache)
37-
uses: dawidd6/action-download-artifact@v2
37+
uses: dawidd6/action-download-artifact@v3
3838
with:
3939
workflow: cache.yml
4040
branch: main
@@ -59,7 +59,7 @@ jobs:
5959
run: |
6060
jb build lectures --path-output ./ -n -W --keep-going
6161
- name: Upload Execution Reports
62-
uses: actions/upload-artifact@v2
62+
uses: actions/upload-artifact@v4
6363
if: failure()
6464
with:
6565
name: execution-reports

.github/workflows/execution-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
python-version: ["3.11"]
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
18-
- uses: conda-incubator/setup-miniconda@v2
17+
uses: actions/checkout@v4
18+
- uses: conda-incubator/setup-miniconda@v3
1919
with:
2020
auto-update-conda: true
2121
python-version: ${{ matrix.python-version }}
@@ -32,7 +32,7 @@ jobs:
3232
shell: bash -l {0}
3333
run: jb build lectures --path-output=./ -W --keep-going
3434
- name: Upload Execution Reports
35-
uses: actions/upload-artifact@v2
35+
uses: actions/upload-artifact@v4
3636
if: failure()
3737
with:
3838
name: execution-reports

.github/workflows/execution-osx.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
python-version: ["3.11"]
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
18-
- uses: conda-incubator/setup-miniconda@v2
17+
uses: actions/checkout@v4
18+
- uses: conda-incubator/setup-miniconda@v3
1919
with:
2020
auto-update-conda: true
2121
python-version: ${{ matrix.python-version }}
@@ -32,7 +32,7 @@ jobs:
3232
shell: bash -l {0}
3333
run: jb build lectures --path-output=./ -W --keep-going
3434
- name: Upload Execution Reports
35-
uses: actions/upload-artifact@v2
35+
uses: actions/upload-artifact@v4
3636
if: failure()
3737
with:
3838
name: execution-reports

.github/workflows/execution-win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
python-version: ["3.11"]
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
18-
- uses: conda-incubator/setup-miniconda@v2
17+
uses: actions/checkout@v4
18+
- uses: conda-incubator/setup-miniconda@v3
1919
with:
2020
auto-update-conda: true
2121
python-version: ${{ matrix.python-version }}
@@ -37,7 +37,7 @@ jobs:
3737
shell: powershell
3838
run: jb build lectures --path-output=./ -W --keep-going
3939
- name: Upload Execution Reports
40-
uses: actions/upload-artifact@v2
40+
uses: actions/upload-artifact@v4
4141
if: failure()
4242
with:
4343
name: execution-reports

.github/workflows/linkcheck.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
python-version: ["3.11"]
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
- name: Setup Anaconda
21-
uses: conda-incubator/setup-miniconda@v2
21+
uses: conda-incubator/setup-miniconda@v3
2222
with:
2323
auto-update-conda: true
2424
auto-activate-base: true
@@ -27,7 +27,7 @@ jobs:
2727
environment-file: environment.yml
2828
activate-environment: quantecon
2929
- name: Download "build" folder (cache)
30-
uses: dawidd6/action-download-artifact@v2
30+
uses: dawidd6/action-download-artifact@v3
3131
with:
3232
workflow: cache.yml
3333
branch: main
@@ -37,7 +37,7 @@ jobs:
3737
shell: bash -l {0}
3838
run: jb build lectures --path-output=./ --builder=custom --custom-builder=linkcheck
3939
- name: Upload Link Checker Reports
40-
uses: actions/upload-artifact@v2
40+
uses: actions/upload-artifact@v4
4141
if: failure()
4242
with:
4343
name: linkcheck-reports

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Setup Anaconda
14-
uses: conda-incubator/setup-miniconda@v2
14+
uses: conda-incubator/setup-miniconda@v3
1515
with:
1616
auto-update-conda: true
1717
auto-activate-base: true
@@ -40,7 +40,7 @@ jobs:
4040
run: pip list
4141
# Download Build Cache from cache.yml
4242
- name: Download "build" folder (cache)
43-
uses: dawidd6/action-download-artifact@v2
43+
uses: dawidd6/action-download-artifact@v3
4444
with:
4545
workflow: cache.yml
4646
branch: main
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
jb build lectures --path-output ./ --builder=custom --custom-builder=jupyter -n -W --keep-going
6363
zip -r download-notebooks.zip _build/jupyter
64-
- uses: actions/upload-artifact@v2
64+
- uses: actions/upload-artifact@v4
6565
with:
6666
name: download-notebooks
6767
path: download-notebooks.zip

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- default
44
dependencies:
55
- python=3.11
6-
- anaconda=2023.09
6+
- anaconda=2024.02
77
- pip
88
- pip:
99
- jupyter-book==0.15.1

lectures/status.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,17 @@ This table contains the latest execution statistics.
1818

1919
(status:machine-details)=
2020

21-
These lectures are built on `linux` instances through `github actions`.
21+
These lectures are built on `linux` instances through `github actions`.
22+
23+
These lectures are using the following python version
24+
25+
```{code-cell} ipython
26+
!python --version
27+
```
28+
29+
and the following package versions
30+
31+
```{code-cell} ipython
32+
:tags: [hide-output]
33+
!conda list
34+
```

0 commit comments

Comments
 (0)