Skip to content

Commit

Permalink
remove hashFile from go cache action (#2794)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 authored Sep 22, 2022
1 parent d1e43c2 commit 5f5ae70
Show file tree
Hide file tree
Showing 33 changed files with 70 additions and 70 deletions.
4 changes: 2 additions & 2 deletions .github/actions/clickhouse/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ runs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/fio/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ runs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/gateway/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ runs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/rmr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ runs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/sysbenchrndrw/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ runs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/sysbenchseqrw/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ runs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/vdbench/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ runs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/aitests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/aitests_limitcache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/elastictest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/encoding_mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/filebench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integrationtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ltpfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ltpsyscallshead.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ltpsyscallsmiddle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ltpsyscallstail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mdtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mongodb_mmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mysqltest_bigtable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mysqltest_smalltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pjdfstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/redis_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sdktest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down Expand Up @@ -126,9 +126,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down Expand Up @@ -185,9 +185,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tpcds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Build linux target
run: make juicefs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go
- name: Install Packages
run: |
Expand Down
Loading

0 comments on commit 5f5ae70

Please sign in to comment.