Skip to content

Commit 260f0ab

Browse files
committed
remove testgroup from the cache key
1 parent 9ee3f95 commit 260f0ab

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ jobs:
9393
# libReactant: packaged
9494
# version: '1.10'
9595
# test_group: integration
96-
TMPDIR: ${{ github.workspace }}/tmp
97-
JULIA_DEPOT_PATH: "${{ github.workspace }}/.julia_depot:"
9896
steps:
9997
- name: Set TMPDIR
10098
# We have to use `${GITHUB_WORKSPACE}` instead of `github.workspace` because GitHub
@@ -106,22 +104,14 @@ jobs:
106104
- name: Create TMPDIR
107105
run: |
108106
mkdir -p ${{ env.TMPDIR }}
109-
- name: Create Julia Depot Directory
110-
run: |
111-
mkdir -p ${{ github.workspace }}/.julia_depot
112-
- name: Cache Julia Depot
113-
uses: actions/cache@v4
114-
with:
115-
path: ${{ github.workspace }}/.julia_depot
116-
key: julia-depot-${{ runner.os }}-${{ runner.arch }}-${{ matrix.version }}-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
117-
restore-keys: |
118-
julia-depot-${{ runner.os }}-${{ runner.arch }}-${{ matrix.version }}-
119-
julia-depot-${{ runner.os }}-${{ runner.arch }}-
120107
- uses: julia-actions/setup-julia@v2
121108
if: ${{ ! matrix.assertions }}
122109
with:
123110
version: ${{ matrix.version }}
124111
- uses: julia-actions/cache@v2
112+
with:
113+
cache-name: julia-cache;workflow=${{ github.workflow }};job=${{ github.job }};version=${{ matrix.version }};os=${{ matrix.os }};runtime=${{ matrix.runtime }};assertions=${{ matrix.assertions }}
114+
include-matrix: false
125115
- uses: actions/checkout@v4
126116
if: ${{ matrix.assertions }}
127117
with:
@@ -183,4 +173,4 @@ jobs:
183173
- uses: julia-actions/julia-processcoverage@v1
184174
- uses: codecov/codecov-action@v5
185175
with:
186-
files: lcov.info
176+
files: lcov.info

0 commit comments

Comments
 (0)