From 0662a982babc8d25a74ec98c135a79e9324694f7 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 21 Nov 2026 05:40:06 -0800 Subject: [PATCH] ci: install Caddy from the pinned GitHub release caddyserver.com/api/download now answers 401 without a login or API key, so the awscli-over-https job failed in Setup Caddy on every run. Download the v2.11.9 release tarball instead and verify it against the release's SHA-512 checksums. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test-s3-over-https-using-awscli.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-s3-over-https-using-awscli.yml b/.github/workflows/test-s3-over-https-using-awscli.yml index 8ccb35eeb7..d1b161da3d 100644 --- a/.github/workflows/test-s3-over-https-using-awscli.yml +++ b/.github/workflows/test-s3-over-https-using-awscli.yml @@ -56,8 +56,12 @@ jobs: - name: Setup Caddy run: | - curl -fsSL "https://caddyserver.com/api/download?os=linux&arch=amd64" -o caddy - chmod +x caddy + CADDY_VERSION=2.11.9 + base="https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}" + curl -fsSLO "${base}/caddy_${CADDY_VERSION}_linux_amd64.tar.gz" + curl -fsSLO "${base}/caddy_${CADDY_VERSION}_checksums.txt" + grep " caddy_${CADDY_VERSION}_linux_amd64.tar.gz$" "caddy_${CADDY_VERSION}_checksums.txt" | sha512sum -c - + tar -xzf "caddy_${CADDY_VERSION}_linux_amd64.tar.gz" caddy ./caddy version echo "{ auto_https disable_redirects