From 6b8d8b0e21e7894b504b584b81cf0a5ee3c0be5a Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 7 Nov 2025 17:13:45 +1100 Subject: [PATCH] refactor: migrate cache.yml 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 for global cache building. Benefits: - Simpler workflow (one action instead of two) - Optimized caching with separate Conda and apt caches - Consistent environment setup across all workflows --- .github/workflows/cache.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 46261ea..25d6b24 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -11,22 +11,19 @@ jobs: - name: Checkout uses: actions/checkout@v5 - # Use composite action for environment setup - - name: Setup Lecture Environment - uses: quantecon/actions/setup-lecture-env@main + # Use unified composite action for complete environment setup + - name: Setup Complete Lecture Environment + uses: quantecon/actions/setup-lecture-env-full@main with: python-version: '3.13' environment-file: 'environment.yml' + latex-requirements-file: 'latex-requirements.txt' environment-name: 'quantecon' - name: graphviz Support # TODO: required? run: | sudo apt-get -qq update && sudo apt-get install -y graphviz - # Use composite action for LaTeX setup - - name: Install LaTeX Dependencies - uses: quantecon/actions/setup-latex@main - # Use composite action for building - name: Build HTML id: build