From 8a4933ede15d96e7fc878331a41e99a3531003c2 Mon Sep 17 00:00:00 2001 From: lukasmetzner Date: Tue, 17 Dec 2024 16:20:29 +0100 Subject: [PATCH] ci: add cache for golangci-lint --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05727c67..50dc0add 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,11 @@ jobs: with: python-version: 3.x + - uses: actions/cache@v4 + with: + path: ~/.cache/golangci-lint + key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} + - uses: pre-commit/action@v3.0.1 test: