Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:

- name: Stan build caching
# note: not quite working since we use a development branch of Stan
uses: actions/cache@v4
uses: actions/cache@v5
id: stan-cache
with:
path: ./stan/
key: ${{ runner.os }}-stan-${{ hashFiles('stan/src/stan/version.hpp') }}-v${{ env.CACHE_VERSION }}

# we use the cache here to build the Stan models once for multiple interfaces
- name: Set up test model cache
uses: actions/cache@v4
uses: actions/cache@v5
id: test-models
with:
path: ./test_models/
Expand Down Expand Up @@ -95,14 +95,14 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Restore Stan
uses: actions/cache@v4
uses: actions/cache@v5
id: stan-cache
with:
path: ./stan/
key: ${{ runner.os }}-stan-${{ hashFiles('stan/src/stan/version.hpp') }}-v${{ env.CACHE_VERSION }}

- name: Restore built models
uses: actions/cache@v4
uses: actions/cache@v5
id: test-models
with:
path: ./test_models/
Expand Down Expand Up @@ -156,13 +156,13 @@ jobs:
any::posterior

- name: Restore Stan
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ./stan/
key: ${{ runner.os }}-stan-${{ hashFiles('stan/src/stan/version.hpp') }}-v${{ env.CACHE_VERSION }}

- name: Restore built models
uses: actions/cache@v4
uses: actions/cache@v5
id: test-models
with:
path: ./test_models/
Expand Down Expand Up @@ -205,14 +205,14 @@ jobs:
channel: ${{ matrix.julia-version }}

- name: Restore Stan
uses: actions/cache@v4
uses: actions/cache@v5
id: stan-cache
with:
path: ./stan/
key: ${{ runner.os }}-stan-${{ hashFiles('stan/src/stan/version.hpp') }}-v${{ env.CACHE_VERSION }}

- name: Restore built models
uses: actions/cache@v4
uses: actions/cache@v5
id: test-models
with:
path: ./test_models/
Expand Down