@@ -29,15 +29,16 @@ jobs:
2929 with :
3030 deno-version : ${{ matrix.deno-version }}
3131
32- - name : Cache https:// deps
32+ - name : Cache Deno deps
3333 uses : actions/cache@v4
3434 with :
35- path : |
36- ~/.cache/deno/deps/https
37- ~/.cache/deno/remote/https
35+ path : ~/.cache/deno
3836 key : deno/${{ matrix.deno-version }}-https/v1-${{ github.sha }}
3937 restore-keys : deno/${{ matrix.deno-version }}-https/v1-
4038
39+ - name : ' Possibly reset lockfile'
40+ run : deno install || rm deno.lock
41+
4142 - name : Check client/mod.ts
4243 if : always()
4344 run : time deno check lib/client/mod.ts
@@ -108,15 +109,16 @@ jobs:
108109 with :
109110 deno-version : ${{ matrix.deno-version }}
110111
111- - name : Cache https:// deps
112+ - name : Cache Deno deps
112113 uses : actions/cache@v4
113114 with :
114- path : |
115- ~/.cache/deno/deps/https
116- ~/.cache/deno/remote/https
115+ path : ~/.cache/deno
117116 key : deno/${{ matrix.deno-version }}-https/v1-${{ github.sha }}
118117 restore-keys : deno/${{ matrix.deno-version }}-https/v1-
119118
119+ - name : ' Possibly reset lockfile'
120+ run : deno install || rm deno.lock
121+
120122 - name : Check generation/deploy/mod.ts
121123 if : always()
122124 run : time deno check --allow-import=cdn.skypack.dev,deno.land generation/deploy/mod.ts
@@ -146,15 +148,16 @@ jobs:
146148 with :
147149 deno-version : ${{ matrix.deno-version }}
148150
149- - name : Cache https:// deps
151+ - name : Cache Deno deps
150152 uses : actions/cache@v4
151153 with :
152- path : |
153- ~/.cache/deno/deps/https
154- ~/.cache/deno/remote/https
154+ path : ~/.cache/deno
155155 key : deno/${{ matrix.deno-version }}-https/v1-${{ github.sha }}
156156 restore-keys : deno/${{ matrix.deno-version }}-https/v1-
157157
158+ - name : ' Possibly reset lockfile'
159+ run : deno install || rm deno.lock
160+
158161 - name : Validate aws-sdk fixtures
159162 if : always()
160163 run : time deno run -A generation/script/validate-fixtures.ts
@@ -186,12 +189,10 @@ jobs:
186189 with :
187190 deno-version : ${{ matrix.deno-version }}
188191
189- - name : Cache https:// deps
192+ - name : Cache Deno deps
190193 uses : actions/cache@v4
191194 with :
192- path : |
193- ~/.cache/deno/deps/https
194- ~/.cache/deno/remote/https
195+ path : ~/.cache/deno
195196 key : deno/${{ matrix.deno-version }}-https/v1-${{ github.sha }}
196197 restore-keys : deno/${{ matrix.deno-version }}-https/v1-
197198
0 commit comments