From 4cdfa6ba24fd0b5a239eaed9e7818852c88c3261 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Wed, 31 Jan 2024 11:45:23 +0200 Subject: [PATCH] ci: Clone NSS from hg and not the GitHub mirror Because the latter can be outdated. This is why #1081 is failing CI. --- .github/workflows/check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7ec34331e0..ec541066bb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -87,10 +87,11 @@ jobs: # version of NSS. Ubuntu 20.04 only has 3.49, which is far too old. # (neqo-crypto/build.rs would also need to query pkg-config to get the # right build flags rather than building NSS.) + # Clone from the main hg repo, because the GitHub mirror can be out of date. - name: Fetch NSS and NSPR run: | hg clone https://hg.mozilla.org/projects/nspr "$NSPR_DIR" - git clone --depth=1 https://github.com/nss-dev/nss "$NSS_DIR" + hg clone https://hg.mozilla.org/projects/nss "$NSS_DIR" echo "NSS_DIR=$NSS_DIR" >> "$GITHUB_ENV" echo "NSPR_DIR=$NSPR_DIR" >> "$GITHUB_ENV" env: