From dcaae323ed22c4c266374ec0e5684403bc9cf270 Mon Sep 17 00:00:00 2001 From: Ryan Slade Date: Tue, 17 Dec 2024 09:58:08 +0100 Subject: [PATCH] Set up Go before running gofumpt --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9ffdf730..71f988bd7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -102,6 +102,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + - name: Install gofumpt tool run: | go install mvdan.cc/gofumpt@latest