chore(ci): update linting workflow

Ayman Bagabas created

Change summary

.github/workflows/lint-sync.yml | 6 +++---
.github/workflows/lint.yml      | 4 ++++
2 files changed, 7 insertions(+), 3 deletions(-)

Detailed changes

.github/workflows/lint-sync.yml 🔗

@@ -1,8 +1,8 @@
 name: lint-sync
 on:
-  schedule:
-    # every Sunday at midnight
-    - cron: "0 0 * * 0"
+  # schedule:
+  #   # every Sunday at midnight
+  #   - cron: "0 0 * * 0"
   workflow_dispatch: # allows manual triggering
 
 permissions:

.github/workflows/lint.yml 🔗

@@ -6,3 +6,7 @@ on:
 jobs:
   lint:
     uses: charmbracelet/meta/.github/workflows/lint.yml@main
+    with:
+      golangci_path: .golangci.yml
+      golangci_version: v2.4
+      timeout: 10m