Skip to content

Commit 18bee84

Browse files
committed
refactor: migrate to unified setup-lecture-env-full action
Replaces separate setup-lecture-env and setup-latex actions with the new unified setup-lecture-env-full action that provides optimized caching for both Conda and LaTeX packages. Benefits: - Simpler workflow (one action instead of two) - Better caching with separate Conda and apt caches - ~6-8 minute speedup with both caches hit vs ~12 min fresh
1 parent e81aa11 commit 18bee84

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,19 @@ jobs:
77
- name: Checkout
88
uses: actions/checkout@v5
99

10-
# Use composite action for environment setup
11-
- name: Setup Lecture Environment
12-
uses: quantecon/actions/setup-lecture-env@main
10+
# Use unified composite action for complete environment setup
11+
- name: Setup Complete Lecture Environment
12+
uses: quantecon/actions/setup-lecture-env-full@main
1313
with:
1414
python-version: '3.13'
1515
environment-file: 'environment.yml'
16+
latex-requirements-file: 'latex-requirements.txt'
1617
environment-name: 'quantecon'
1718

1819
- name: Graphics Support #TODO: Review if graphviz is needed
1920
run: |
2021
sudo apt-get -qq update && sudo apt-get install -y graphviz
2122
22-
# Use composite action for LaTeX setup
23-
- name: Install LaTeX Dependencies
24-
uses: quantecon/actions/setup-latex@main
25-
2623
- name: Display Conda Environment Versions
2724
shell: bash -l {0}
2825
run: conda list

0 commit comments

Comments
 (0)