Skip to content

Commit 4cae336

Browse files
committed
fix(github): disable pessimal cache temporarily
Github actions cache should be better after 2020-04-01. At that time, revert this commit and test again.
1 parent 94c2a3e commit 4cae336

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

.github/workflows/test-all-packages.yml

+20-14
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,30 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v1
16-
- name: cache node modules
17-
uses: actions/cache@v1
18-
with:
19-
path: ~/.cache/yarn
20-
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
21-
restore-keys: |
22-
${{ runner.os }}-yarn-
16+
17+
# FIXME: Reenable after 2020-04-01 when Github cache doesn't take forever.
18+
#- name: cache node modules
19+
# uses: actions/cache@v1
20+
# with:
21+
# path: ~/.cache/yarn
22+
# key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
23+
# restore-keys: |
24+
# ${{ runner.os }}-yarn-
25+
2326
- name: Set up Go 1.13
2427
uses: actions/setup-go@v1
2528
with:
2629
go-version: 1.13
27-
- name: cache Go modules
28-
uses: actions/cache@v1
29-
with:
30-
path: ~/go/pkg/mod
31-
key: ${{ runner.os }}-go-${{ hashFiles('packages/cosmic-swingset/go.sum') }}
32-
restore-keys: |
33-
${{ runner.os }}-go-
30+
31+
# FIXME: Reenable after 2020-04-01 when Github cache doesn't take forever.
32+
#- name: cache Go modules
33+
# uses: actions/cache@v1
34+
# with:
35+
# path: ~/go/pkg/mod
36+
# key: ${{ runner.os }}-go-${{ hashFiles('packages/cosmic-swingset/go.sum') }}
37+
# restore-keys: |
38+
# ${{ runner.os }}-go-
39+
3440
# 'yarn install' must be done at the top level, to build all the
3541
# cross-package symlinks
3642
- name: yarn install

0 commit comments

Comments
 (0)