Skip to content

Commit a1abc4b

Browse files
committed
move go mod after cache for linux
1 parent 6b06366 commit a1abc4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/go-getter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ jobs:
3030
- name: Create test directory
3131
run: |
3232
mkdir -p ${{ env.TEST_RESULTS_PATH }}
33-
34-
- name: Download go modules
35-
run: go mod download
36-
33+
3734
- name: Setup cache for go modules
3835
uses: actions/cache@v3
3936
with:
@@ -44,6 +41,9 @@ jobs:
4441
restore-keys: |
4542
${{ runner.os }}-go-
4643
44+
- name: Download go modules
45+
run: go mod download
46+
4747
# Check go fmt output because it does not report non-zero when there are fmt changes
4848
- name: Run gofmt
4949
run: |

0 commit comments

Comments
 (0)