From 22168a37cc5fd49eb216a2c153998dddc1e688b4 Mon Sep 17 00:00:00 2001 From: Mateus Melchiades Date: Thu, 18 Apr 2024 09:38:35 -0300 Subject: [PATCH] fix: Broken CI due to old crun Fixes testing CI by updating crun to the latest version --- .github/workflows/go.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6cc7a12f..1bb27d20 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -33,9 +33,21 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install podman + run: sudo apt-get install -y podman + + # See: https://github.com/actions/runner-images/issues/9425 + - name: Patch crun + env: + CRUN_VER: 1.14.4 + run: | + echo -e "Replacing $(crun --version | head -1) with newer (${CRUN_VER})" + curl -Lo crun "https://github.com/containers/crun/releases/download/${CRUN_VER}/crun-${CRUN_VER}-linux-amd64" + sudo install crun /usr/bin/crun + - name: Install test dependencies run: | - curl -s https://raw.githubusercontent.com/89luca89/distrobox/1.6.0/install | sudo sh + curl -s https://raw.githubusercontent.com/89luca89/distrobox/1.7.1/install | sudo sh ./utils/create_test_env.sh - name: Test