From 4068e8c5eeca154f47d56fe3f4d019d21ca47f8a Mon Sep 17 00:00:00 2001 From: Mateus Melchiades Date: Thu, 18 Apr 2024 09:07:09 -0300 Subject: [PATCH] Replace crun --- .github/workflows/go.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index cfd95169..2d812d92 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -33,9 +33,16 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install test dependencies + # https://noobient.com/2023/11/15/fixing-ubuntu-containers-failing-to-start-with-systemd/ + - name: Setup podman run: | + echo -e "Replacing $(crun --version | head -1) with newer" sudo apt-get install -y podman + sudo CRUN_VER='1.11.2' curl -L "https://github.com/containers/crun/releases/download/${CRUN_VER}/crun-${CRUN_VER}-linux-amd64" -o "/usr/bin/crun" + sudo chmod +x "/usr/bin/crun" + + - name: Install test dependencies + run: | curl -s https://raw.githubusercontent.com/89luca89/distrobox/1.7.1/install | sudo sh ./utils/create_test_env.sh