From b8c5c896ce48a25554fd96b9cd5f18b213d0880d Mon Sep 17 00:00:00 2001 From: Valentin Maerten Date: Sat, 31 Jan 2026 13:29:20 +0100 Subject: [PATCH] fix(ci): checkout before setup-go for cache to work --- .github/workflows/test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 533c6cfa..d03fb1c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,14 +18,13 @@ jobs: platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{matrix.platform}} steps: + - name: Check out code + uses: actions/checkout@v6 + - name: Set up Go ${{matrix.go-version}} uses: actions/setup-go@v6 with: go-version: ${{matrix.go-version}} - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v6 - name: Test run: go run ./cmd/task test