Skip to content

Commit

Permalink
Add installation of Python 3.12 in GitHub workflow
Browse files Browse the repository at this point in the history
This update installs Python 3.12 in the 'sync-to-ynab' workflow. It also includes a cache verification step to confirm if the cache was restored successfully. These changes ensure that the workflow uses the specified Python version and improves efficiency by utilizing caching.
  • Loading branch information
lipemorais committed Oct 29, 2024
1 parent 7c0831b commit f676068
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/sync-to-ynab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ jobs:
version: "latest"
enable-cache: true
- run: uv --version
- name: Install Python 3.12
run: uv python install 3.12
- run: python --version
- name: Verify cache
if: steps.setup-uv.outputs.cache-hit == 'true'
run: echo "Cache was restored"
- name: Run sync to ynab
run: |
uv run python financas_automatizadas/main.py

0 comments on commit f676068

Please sign in to comment.