From 5d551e54ce1ac381bce3931448da3006d070f83e Mon Sep 17 00:00:00 2001 From: lifenjoiner Date: Sat, 15 Apr 2023 03:20:37 +0800 Subject: [PATCH] CI: Fix actions/setup-go@v4 warning (#2371) Warning: Restore cache failed: Dependencies file is not found ... https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs --- .github/workflows/releases.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index a86a43a6..26f50a05 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -27,15 +27,15 @@ jobs: id: get_version run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT + - name: Check out code + uses: actions/checkout@v3 + - name: Set up Go uses: actions/setup-go@v4 with: go-version: 1 id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - - name: Test suite run: | go version