From f423bbd6f98a00aff5c2efe3b6eaadca8b6ebbc2 Mon Sep 17 00:00:00 2001 From: Piotr Kulik <70904851+pkulik0@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:58:00 -0400 Subject: [PATCH] Use go version from go.mod in golangci-lint workflow (#1354) --- .github/workflows/golangci-lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 9b24d51e7..7d01493ea 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -17,7 +17,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: stable + go-version-file: 'go.mod' - name: Run Golangci-lint uses: golangci/golangci-lint-action@v6