From 2350469cafbf77fbef5983407bb679fb2ecb9a84 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Tue, 22 Aug 2023 13:25:29 +0200 Subject: [PATCH] build: take advantage of new caching feature for Go --- .github/workflows/go.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 56bd6706..581915ec 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,6 +18,9 @@ jobs: go: ["1.20.x", "1.21.x"] steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v3 + - name: Setup Go ${{ matrix.go }} uses: actions/setup-go@v4 with: @@ -30,9 +33,6 @@ jobs: python-version: "3.11.X" architecture: "x64" - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - - name: Get dependencies run: | go mod download