From 8b7d684addd8c6c2ae272ce2b8eeb198b2c2fa82 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:59:52 -0400 Subject: [PATCH 1/3] MNT: Use hash for Action workflow versions and update if needed --- .github/workflows/ci_tests.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 72f392f..e97a089 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -33,11 +33,11 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: fetch-depth: 0 - name: Setup Miniconda - uses: conda-incubator/setup-miniconda@v3.0.3 + uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4 with: python-version: ${{ matrix.python }} auto-update-conda: true @@ -51,7 +51,7 @@ jobs: # python -m pip install jupyter-book==0.12.1 - name: Cache id: cache - uses: actions/cache@v4 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: | notebooks/*.fit*.bz @@ -74,7 +74,7 @@ jobs: jb build . - name: Upload HTML - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 with: name: rendered-book-sha-${{ github.sha }} path: | @@ -92,12 +92,12 @@ jobs: if [[ "${{ github.ref }}" == 'refs/heads/main' ]]; then VERSION_NUMBER=dev; fi echo "VERSION_NUMBER=$VERSION_NUMBER" >> $GITHUB_ENV - name: Download artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 with: name: rendered-book-sha-${{ github.sha }} path: dev - name: Deploy pages - uses: peaceiris/actions-gh-pages@v4 + uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: dev From 0ef31fcac6de9b3d9e89459016911dd366c56e08 Mon Sep 17 00:00:00 2001 From: Matt Craig Date: Thu, 7 Nov 2024 20:55:07 -0600 Subject: [PATCH 2/3] Update conda version --- .github/workflows/ci_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index e97a089..13b8b8e 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 - name: Setup Miniconda - uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4 + uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0 with: python-version: ${{ matrix.python }} auto-update-conda: true From 2378f3a12ef34ec5a969dbccbcb83f9a549424ca Mon Sep 17 00:00:00 2001 From: Matt Craig Date: Thu, 7 Nov 2024 21:11:53 -0600 Subject: [PATCH 3/3] Add new dependency needed by lxml --- .github/workflows/ci_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 13b8b8e..2ccd2c9 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -47,6 +47,7 @@ jobs: conda install -c conda-forge mamba mamba install --quiet -c conda-forge astroquery ccdproc photutils sphinx sphinxcontrib-bibtex jupyter-book=0.13.2 conda list + python -m pip install lxml_html_clean conda info -e # python -m pip install jupyter-book==0.12.1 - name: Cache