eff648aab021df0407dcd86126d2ab9db950d0f2

Author
Carlo Sala <carlosalag@protonmail.com>
Committer
Carlo Sala <carlosalag@protonmail.com>
Date

Message

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

Diff

 1diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml
 2index 2e2217e1c0dd3b25a39e9c9143133fe78a90b94d..fce666e4ce3acf5ad4bf6e688e343504d6014597 100644
 3--- a/.github/workflows/dependencies.yml
 4+++ b/.github/workflows/dependencies.yml
 5@@ -1,8 +1,8 @@
 6 name: Update dependencies
 7 on:
 8   workflow_dispatch: {}
 9-  # schedule:
10-  #   - cron: '34 3 * * */8'
11+  schedule:
12+    - cron: '34 3 * * */8'
13 
14 jobs:
15   check:
16@@ -18,6 +18,11 @@ jobs:
17         with:
18           app_id: ${{ secrets.OHMYZSH_APP_ID }}
19           private_key: ${{ secrets.OHMYZSH_APP_PRIVATE_KEY }}
20+      - name: Setup Python
21+        uses: actions/setup-python@v5
22+        with:
23+          python-version: "3.12"
24+          cache: "pip"
25       - name: Process dependencies
26         env:
27           GH_TOKEN: ${{ steps.generate_token.outputs.token }}