From 48720b4f86e1fa65688f9e167b84ff16bb002483 Mon Sep 17 00:00:00 2001 From: Ivar Derksen Date: Tue, 20 Feb 2024 11:53:30 +0100 Subject: [PATCH] Update status-checks.yml CI/CD: fix failing lint job due to Go version issues --- .github/workflows/status-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/status-checks.yml b/.github/workflows/status-checks.yml index 5c737a5..e75eb92 100644 --- a/.github/workflows/status-checks.yml +++ b/.github/workflows/status-checks.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: ^1.18 + go-version-file: go.mod - name: Run gofmt # gofmt does not return non-zero exit codes on failure, so we have to check that there are no issues using grep. @@ -58,7 +58,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: ^1.18 + go-version-file: go.mod - name: Run all unit tests run: go test -v ./...