build: update cache keys to reflect Go 1.20

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
pull/3670/head
Hidde Beydals 2 years ago
parent 262e6bb543
commit fe0baa4de9
No known key found for this signature in database
GPG Key ID: 979F380FC2341744

@ -20,9 +20,9 @@ jobs:
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
with: with:
path: ~/go/pkg/mod path: ~/go/pkg/mod
key: ${{ runner.os }}-go1.18-${{ hashFiles('**/go.sum') }} key: ${{ runner.os }}-go1.20-${{ hashFiles('**/go.sum') }}
restore-keys: | restore-keys: |
${{ runner.os }}-go1.18- ${{ runner.os }}-go1.20-
- name: Setup Go - name: Setup Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with: with:

@ -21,9 +21,9 @@ jobs:
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
with: with:
path: ~/go/pkg/mod path: ~/go/pkg/mod
key: ${{ runner.os }}-go1.18-${{ hashFiles('**/go.sum') }} key: ${{ runner.os }}-go1.20-${{ hashFiles('**/go.sum') }}
restore-keys: | restore-keys: |
${{ runner.os }}-go1.18- ${{ runner.os }}-go1.20-
- name: Setup Go - name: Setup Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with: with:

@ -25,9 +25,9 @@ jobs:
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
with: with:
path: ~/go/pkg/mod path: ~/go/pkg/mod
key: ${{ runner.os }}-go1.18-${{ hashFiles('**/go.sum') }} key: ${{ runner.os }}-go1.20-${{ hashFiles('**/go.sum') }}
restore-keys: | restore-keys: |
${{ runner.os }}-go1.18- ${{ runner.os }}-go1.20-
- name: Setup Go - name: Setup Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
with: with:

Loading…
Cancel
Save