setup-uv/.github/workflows/update-known-checksums.yml
Kevin Stillhammer f95cd8710c
Some checks failed
Check dist/ / check-dist (push) Failing after 11s
Release Drafter / ✏️ Draft release (push) Failing after 11s
test-cache / test-setup-cache (auto, ubuntu-latest) (push) Failing after 4s
test-cache / test-setup-cache (true, ubuntu-latest) (push) Failing after 6s
test-cache / test-setup-cache-dependency-glob (push) Failing after 5s
test-cache / test-restore-cache-dependency-glob (push) Has been skipped
test-cache / test-no-python-version (push) Failing after 4s
test-cache / test-setup-cache (false, ubuntu-latest) (push) Successful in 29s
test / build (push) Failing after 7s
test / test-specific-version (0.3) (push) Failing after 4s
test / test-specific-version (0.3.0) (push) Failing after 5s
test-cache / test-setup-cache-requirements-txt (push) Successful in 39s
test / test-default-version (ubuntu-latest) (push) Successful in 20s
test / test-specific-version (0.3.2) (push) Failing after 4s
test / test-semver-range (push) Failing after 5s
test / test-pyproject-file-version (push) Failing after 4s
test / test-uv-file-version (push) Failing after 4s
test / test-checksum (4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd, ubuntu-latest) (push) Failing after 4s
test / test-with-explicit-token (push) Failing after 4s
test / test-uvx (push) Failing after 4s
test / test-tool-install (ubuntu-latest) (push) Failing after 4s
test / test-specific-version (0.3.x) (push) Successful in 45s
test / test-python-version (ubuntu-latest) (push) Failing after 4s
test / test-specific-version (>=0.3.0) (push) Successful in 51s
test / test-python-version (windows-latest) (push) Failing after 4s
test / test-malformed-pyproject-file-fallback (push) Successful in 40s
test / test-python-version (macos-latest) (push) Successful in 1m0s
test-cache-windows / test-setup-cache (push) Has been cancelled
test-cache / test-setup-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-setup-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-setup-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-setup-cache-local (push) Has been cancelled
test-cache / test-tilde-expansion-cache-local-path (push) Has been cancelled
test-cache / test-tilde-expansion-cache-dependency-glob (push) Has been cancelled
test-windows / test-default-version (push) Has been cancelled
test / test-default-version (macos-14) (push) Has been cancelled
test / test-default-version (macos-latest) (push) Has been cancelled
test / test-checksum (a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218, macos-latest) (push) Has been cancelled
test / test-tool-install (macos-14) (push) Has been cancelled
test / test-tool-install (macos-latest) (push) Has been cancelled
test / test-tool-install (windows-latest) (push) Has been cancelled
test / test-tilde-expansion-tool-dirs (push) Has been cancelled
test-cache-windows / test-restore-cache (push) Has been cancelled
test-cache / test-restore-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-restore-cache (auto, ubuntu-latest) (push) Has been cancelled
test-cache / test-restore-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-restore-cache (false, ubuntu-latest) (push) Has been cancelled
test-cache / test-restore-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-restore-cache (true, ubuntu-latest) (push) Has been cancelled
test-cache / test-restore-cache-requirements-txt (push) Has been cancelled
test-cache / test-restore-cache-local (push) Has been cancelled
test-cache / cleanup-tilde-expansion-tests (push) Has been cancelled
Update known checksums / build (push) Failing after 2m8s
CodeQL / Analyze (TypeScript) (push) Failing after 32s
Run update-known-checksums every night (#273)
2025-02-06 07:45:58 +00:00

35 lines
1.1 KiB
YAML

name: "Update known checksums"
on:
workflow_dispatch:
schedule:
- cron: "0 4 * * *" # Run every day at 4am UTC
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Update known checksums
id: update-known-checksums
run:
node dist/update-known-checksums/index.js
src/download/checksum/known-checksums.ts ${{ secrets.GITHUB_TOKEN }}
- run: npm install && npm run all
- name: Create Pull Request
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
commit-message: "chore: update known checksums"
title:
"chore: update known checksums for ${{
steps.update-known-checksums.outputs.latest-version }}"
body:
"chore: update known checksums for ${{
steps.update-known-checksums.outputs.latest-version }}"
base: main
labels: "automated-pr,update-known-checksums"
branch: update-known-checksums-pr
delete-branch: true