Skip to content

Commit

Permalink
fix: Broken CI due to old crun
Browse files Browse the repository at this point in the history
Fixes testing CI by updating crun to the latest version
  • Loading branch information
matbme committed Apr 18, 2024
1 parent 3342137 commit 22168a3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22168a3

Please sign in to comment.