Skip to content

Commit

Permalink
get stable release cache
Browse files Browse the repository at this point in the history
  • Loading branch information
BradleySappington committed Dec 11, 2024
1 parent 646dbc9 commit 78e7d73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI

on: [push, pull_request]
# TODO - UPDATE THIS CACHE!!!!

jobs:
retrieve_cache:
uses: spacetelescope/stpsf/.github/workflows/retrieve_cache.yml@beda656c80a0254e6f80649d9c9c49235634522f # v1.4.0
uses: spacetelescope/stpsf/.github/workflows/retrieve_cache.yml@stable # 2090d50be6b75f2c241c07ae0538bff16e5be25e # v1.4.0 # TODO change to initial release
with:
minimal: true
tests:
Expand Down Expand Up @@ -49,20 +49,20 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 # TODO - UPDATE THIS
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 # TODO - UPDATE THIS
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ matrix.python }}

- name: Install Python dependencies
run: pip install tox tox-conda>=0.2

- name: Get STPSF Data
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 # TODO - UPDATE THIS
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ needs.retrieve_cache.outputs.cache_path }}
key: ${{ needs.retrieve_cache.outputs.cache_key }}
Expand Down Expand Up @@ -90,6 +90,6 @@ jobs:

- name: Upload coverage to codecov
if: ${{ contains(matrix.toxenv,'-cov') }}
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 # TODO - UPDATE THIS
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
file: ./coverage.xml

0 comments on commit 78e7d73

Please sign in to comment.