fix warning 'Restore cache failed'

This commit is contained in:
Andreas Deininger 2024-08-22 21:20:08 +02:00 committed by Garrett D'Amore
parent 1985c48151
commit f78cd904bc
3 changed files with 9 additions and 9 deletions

View File

@ -10,15 +10,15 @@ jobs:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
steps: steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.18 go-version: 1.18
id: go id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies - name: Get dependencies
run: go get -v -t -d ./... run: go get -v -t -d ./...

View File

@ -7,6 +7,9 @@ jobs:
runs-on: [ ubuntu-latest ] runs-on: [ ubuntu-latest ]
steps: steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
@ -16,9 +19,6 @@ jobs:
- name: Go version - name: Go version
run: go version run: go version
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies - name: Get dependencies
run: go get -v -t -d ./... run: go get -v -t -d ./...

View File

@ -7,15 +7,15 @@ jobs:
runs-on: [ windows-latest ] runs-on: [ windows-latest ]
steps: steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.18 go-version: 1.18
id: go id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies - name: Get dependencies
run: go get -v -t -d ./... run: go get -v -t -d ./...