From 6bf1ee0d11663dcc72ab831c81e5737461dac2c5 Mon Sep 17 00:00:00 2001 From: Joe Fitzgerald Date: Fri, 27 Dec 2024 18:02:52 -0700 Subject: [PATCH] move checkout action before setup-go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This enables dependency caching to function correctly… Signed-off-by: Joe Fitzgerald --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf5b1fd..03c0466 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,12 +8,12 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: + - name: Checkout code + uses: actions/checkout@v4 - name: Install Go uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - - name: Checkout code - uses: actions/checkout@v4 - name: Build run: go build ./... - name: Test