From 89d5398ef8828ddb7769c179498f8561b40cb9ee Mon Sep 17 00:00:00 2001 From: Pete Bachant Date: Thu, 21 Aug 2025 05:56:34 -0700 Subject: [PATCH 1/3] Simplify to use Calkit run action --- .github/workflows/run.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 7340134..53b2c96 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -33,26 +33,7 @@ jobs: uses: astral-sh/setup-uv@v5 - name: Install Calkit run: uv tool install calkit-python - - name: Restore DVC cache - id: cache-dvc-restore - uses: actions/cache/restore@v4 + - name: Run Calkit + uses: calkit/run-action@2ddab461e09ddd6b157ff68fa32d136272e91e71 with: - path: .dvc/cache - key: ${{ runner.os }}-dvc-cache-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-dvc-cache- - - run: calkit config remote-auth - env: - CALKIT_DVC_TOKEN: ${{ secrets.CALKIT_DVC_TOKEN }} - - run: calkit dvc pull - continue-on-error: true - - run: calkit run - - run: calkit save -am "Run pipeline" - env: - CALKIT_DVC_TOKEN: ${{ secrets.CALKIT_DVC_TOKEN }} - - name: Save DVC cache - id: cache-dvc-save - uses: actions/cache/save@v4 - with: - path: .dvc/cache - key: ${{ runner.os }}-dvc-cache-${{ github.sha }} + dvc_token: ${{ secrets.CALKIT_DVC_TOKEN }} From da8e0cbbea8b76122bb069e4aaad26d807274f42 Mon Sep 17 00:00:00 2001 From: Pete Bachant Date: Thu, 21 Aug 2025 06:20:27 -0700 Subject: [PATCH 2/3] Update actions version --- .github/workflows/run.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 53b2c96..de04e47 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -34,6 +34,6 @@ jobs: - name: Install Calkit run: uv tool install calkit-python - name: Run Calkit - uses: calkit/run-action@2ddab461e09ddd6b157ff68fa32d136272e91e71 + uses: calkit/run-action@f1ee534e0bbcb43795739ef9a6e9e89f3bd50bd3 with: dvc_token: ${{ secrets.CALKIT_DVC_TOKEN }} From 7650b8910e5c3ecc2f17ff4d94cda16157f09525 Mon Sep 17 00:00:00 2001 From: Pete Bachant Date: Thu, 21 Aug 2025 06:34:05 -0700 Subject: [PATCH 3/3] Use v1 --- .github/workflows/run.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index de04e47..12fdc1d 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -34,6 +34,6 @@ jobs: - name: Install Calkit run: uv tool install calkit-python - name: Run Calkit - uses: calkit/run-action@f1ee534e0bbcb43795739ef9a6e9e89f3bd50bd3 + uses: calkit/run-action@v1 with: dvc_token: ${{ secrets.CALKIT_DVC_TOKEN }}