Browse Source

ci(dependencies): use `setup-python` and enable cron-based jobs

Carlo Sala 3 weeks ago
parent
commit
eff648aab0
1 changed files with 7 additions and 2 deletions
  1. 7 2
      .github/workflows/dependencies.yml

+ 7 - 2
.github/workflows/dependencies.yml

@@ -1,8 +1,8 @@
 name: Update dependencies
 on:
   workflow_dispatch: {}
-  # schedule:
-  #   - cron: '34 3 * * */8'
+  schedule:
+    - cron: '34 3 * * */8'
 
 jobs:
   check:
@@ -18,6 +18,11 @@ jobs:
         with:
           app_id: ${{ secrets.OHMYZSH_APP_ID }}
           private_key: ${{ secrets.OHMYZSH_APP_PRIVATE_KEY }}
+      - name: Setup Python
+        uses: actions/setup-python@v5
+        with:
+          python-version: "3.12"
+          cache: "pip"
       - name: Process dependencies
         env:
           GH_TOKEN: ${{ steps.generate_token.outputs.token }}