From d8e91cf66e221be41e6639b62e232a487edb4220 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Wed, 23 Oct 2024 11:09:54 -0400 Subject: [PATCH] Fix go cache in gofmt --- .github/workflows/gofmt.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gofmt.yml b/.github/workflows/gofmt.yml index fa5e183..0fa683e 100644 --- a/.github/workflows/gofmt.yml +++ b/.github/workflows/gofmt.yml @@ -14,17 +14,16 @@ jobs: name: Run gofmt runs-on: ubuntu-latest steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + with: + show-progress: false - name: Set up Go 1.22 uses: actions/setup-go@v5 with: go-version: "1.22" - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v4 - with: - show-progress: false + cache-dependency-path: nebula/go.sum - name: Install goimports working-directory: nebula