6767 # GitHub will automatically expand to the correct value (`x86_64` or `aarch64`)
6868 # based on the architecture of the underlying GitHub Runner (virtual machine).
6969 arch : ${{ github.ref == '32' && 'x86' || runner.arch }}
70- - uses : actions/cache@v5
71- env :
72- cache-name : cache-artifacts
73- with :
74- path : ~/.julia/artifacts
75- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
76- restore-keys : |
77- ${{ runner.os }}-test-${{ env.cache-name }}-
78- ${{ runner.os }}-test-${{ matrix.os }}
79- ${{ runner.os }}-
80- - uses : julia-actions/julia-buildpkg@v1
70+ - uses : julia-actions/cache@v3
8171 - name : Decide what the value of JULIA_NUM_THREADS should be
8272 id : decide-numthreads-str
8373 run : |
@@ -115,6 +105,7 @@ jobs:
115105 - uses : julia-actions/setup-julia@latest
116106 with :
117107 version : ' 1'
108+ - uses : julia-actions/cache@v3
118109 - name : Install dependencies
119110 run : julia --project=docs/ -e 'using Pkg; Pkg.instantiate()'
120111 - name : Build and deploy
@@ -130,8 +121,9 @@ jobs:
130121 persist-credentials : false
131122 - uses : julia-actions/setup-julia@latest
132123 with :
133- version : ' 1.12 '
124+ version : ' 1'
134125 # version: 'nightly'
126+ - uses : julia-actions/cache@v3
135127 - run : julia --color=yes --project=ci/jet -e 'import Pkg; Pkg.instantiate()'
136128 - name : Run the JET tests
137129 run : julia --color=yes --project=ci/jet ci/jet/check.jl
0 commit comments