@@ -13,11 +13,17 @@ jobs:
1313 plan : ${{ steps.generate-plan.outputs.plan }}
1414 steps :
1515 - uses : actions/checkout@v4
16- - name : Install Python Dependencies
17- uses : HassanAbouelela/actions/setup-python@setup-python_v1.6.0
16+
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v6
1819 with :
19- python_version : ' 3.12'
20- install_args : --only dns
20+ enable-cache : true
21+ cache-dependency-glob : " uv.lock"
22+ activate-environment : true
23+
24+ - name : Install dependencies
25+ run : uv sync --frozen --only-group dns
26+
2127 - uses : solvaholic/octodns-sync@main
2228 id : generate-plan
2329 with :
@@ -26,11 +32,13 @@ jobs:
2632 env :
2733 CLOUDFLARE_TOKEN : ${{ secrets.CLOUDFLARE_RO_TOKEN }}
2834 CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
35+
2936 add-pr-comment :
3037 name : Add `octodns-sync` plan to comment
3138 if : ${{ ! contains(needs.octodns-sync.outputs.plan, 'No changes were planned') }}
3239 needs : [octodns-sync]
3340 runs-on : ubuntu-latest
41+
3442 steps :
3543 - name : Find previous comment, if present
3644 uses : peter-evans/find-comment@v3
3947 issue-number : ${{ github.event.pull_request.number }}
4048 comment-author : github-actions[bot]
4149 body-includes : " OctoDNS Plan for "
50+
4251 - name : Create or update comment
4352 id : prcomment
4453 uses : peter-evans/create-or-update-comment@v4
0 commit comments