From f78cd904bca6b0bba61c4fa0831f9c6ff37a897e Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Thu, 22 Aug 2024 21:20:08 +0200 Subject: [PATCH] fix warning 'Restore cache failed' --- .github/workflows/coverage.yml | 6 +++--- .github/workflows/linux.yml | 6 +++--- .github/workflows/windows.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 3a57f24..ebdb778 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -10,15 +10,15 @@ jobs: os: [ubuntu-latest, windows-latest] steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: go-version: 1.18 id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - - name: Get dependencies run: go get -v -t -d ./... diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index a22fa1f..854e87d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -7,6 +7,9 @@ jobs: runs-on: [ ubuntu-latest ] steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: @@ -16,9 +19,6 @@ jobs: - name: Go version run: go version - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - - name: Get dependencies run: go get -v -t -d ./... diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index de62933..7fc66df 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -7,15 +7,15 @@ jobs: runs-on: [ windows-latest ] steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: go-version: 1.18 id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - - name: Get dependencies run: go get -v -t -d ./...