From 299fa4183561ff96b3ee4233c212dd670a93cf81 Mon Sep 17 00:00:00 2001 From: Mark Atwood Date: Mon, 11 May 2026 07:57:23 -0700 Subject: [PATCH] ci: use matrix.ref in hitch.yml Address julek-wolfssl's review on wolfSSL/wolfssl#9897: replace the two remaining hardcoded 1.8.0 occurrences with ${{ matrix.ref }} so the matrix entry is the single source of truth for the hitch version under test. --- .github/workflows/hitch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hitch.yml b/.github/workflows/hitch.yml index adbe7ae20e5..b3b28f886b1 100644 --- a/.github/workflows/hitch.yml +++ b/.github/workflows/hitch.yml @@ -78,7 +78,7 @@ jobs: uses: actions/checkout@v4 with: repository: varnish/hitch - ref: 1.8.0 + ref: ${{ matrix.ref }} path: hitch # Do this before configuring so that it only detects the updated list of @@ -92,7 +92,7 @@ jobs: - name: Configure and build hitch run: | cd $GITHUB_WORKSPACE/hitch/ - patch -p1 < $GITHUB_WORKSPACE/osp/hitch/hitch_1.8.0.patch + patch -p1 < $GITHUB_WORKSPACE/osp/hitch/hitch_${{ matrix.ref }}.patch export SSL_CFLAGS="-I$GITHUB_WORKSPACE/build-dir/include/ -I$GITHUB_WORKSPACE/build-dir/include/wolfssl" export SSL_LIBS="-L$GITHUB_WORKSPACE/build-dir/lib -lwolfssl" ./bootstrap --with-wolfssl=$GITHUB_WORKSPACE/build-dir/ --prefix=$GITHUB_WORKSPACE/build-dir