From bed93a73d809ca846a0ac8042ba719593fbfb9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=A4rdian?= Date: Tue, 21 May 2024 15:40:43 +0200 Subject: [PATCH] CI: fork spread to get #179 fixes See https://github.com/snapcore/spread/pull/179 --- .github/workflows/spread.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spread.yml b/.github/workflows/spread.yml index c1593f5c7..2b6db8a82 100644 --- a/.github/workflows/spread.yml +++ b/.github/workflows/spread.yml @@ -18,7 +18,11 @@ jobs: - uses: actions/checkout@v3 - name: Install spread run: | - go install github.com/snapcore/spread/cmd/spread@latest + # TODO: Once Spread PR #179 is merged, go back to: + # go install github.com/snapcore/spread/cmd/spread@latest + git clone --depth 1 --branch thp https://github.com/thp-canonical/spread spread-fork + cd spread-fork && go install ./cmd/spread + cd .. && rm -r spread-fork - name: Run the spread test inside LXD run: | ~/go/bin/spread -v lxd: