From c272b9844f64f042b719f2ffc30187a048040cdf Mon Sep 17 00:00:00 2001 From: ulflow_phattt2901 Date: Fri, 6 Jun 2025 19:46:04 +0700 Subject: [PATCH] chore: update ci.yml --- .gitea/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5a893f1..64ec39b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -18,12 +18,18 @@ jobs: with: go-version: '1.24.3' cache-dependency-path: go.sum - + - name: Cache golangci-lint + uses: actions/cache@v4 + with: + path: ~/.cache/golangci-lint + key: ${{ runner.os }}-golangci-lint-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-golangci-lint- - name: Lint uses: golangci/golangci-lint-action@v6 with: version: latest - args: --timeout=5m + args: --timeout=15m - name: Notify on failure if: failure()