From 118ce6038f4348a0b78f404ddde7a35c37c77922 Mon Sep 17 00:00:00 2001 From: Kareem Mahlees Date: Fri, 23 Feb 2024 20:21:09 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20fix=20caching=20and=20go=20version=20?= =?UTF-8?q?=F0=9F=91=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 948903f..fd5f234 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,8 +17,9 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: "1.21" - cache: false + cache: true + cache-dependency-path: "**/go.sum" + go-version-file: "./go.mod" - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: