Skip to content

Commit

Permalink
chore(ci) fix cache keys for github workflows (#1424)
Browse files Browse the repository at this point in the history
fixes #1414

Signed-off-by: Tharun <rajendrantharun@live.com>
Co-authored-by: Michał Flendrich <michal@flendrich.pro>
  • Loading branch information
tharun208 and mflendrich authored Jun 14, 2021
1 parent d764097 commit e59a9fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/1x-integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-codegen-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go
${{ runner.os }}-build-codegen-
- name: checkout repository
uses: actions/checkout@v2
- name: run railgun integration tests on legacy KIC
Expand All @@ -47,7 +47,7 @@ jobs:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-codegen-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go
${{ runner.os }}-build-codegen-
- name: 'Check out the repo'
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/2x-integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-codegen-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go
${{ runner.os }}-build-codegen-
- name: checkout repository
uses: actions/checkout@v2
- name: run railgun integration tests
Expand All @@ -51,7 +51,7 @@ jobs:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-codegen-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go
${{ runner.os }}-build-codegen-
- name: checkout repository
uses: actions/checkout@v2
- name: run railgun integration tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/common-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-codegen-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go
${{ runner.os }}-build-codegen-
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup golangci-lint
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-test-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go
${{ runner.os }}-build-test-
- name: Install Go-lint
run: go get -u golang.org/x/lint/golint
- name: Checkout repository
Expand Down

0 comments on commit e59a9fd

Please sign in to comment.