From a27f3e05a646323e13a682e92b7053062eb24513 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 18 Nov 2024 10:58:03 +0100 Subject: [PATCH] workflow: update to work with the images dependencies This commit updates the GH workflow file to install the required dependencies to build the images library. --- .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 0b443f37..25d8e264 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,14 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: 'stable' + + - name: Apt update + run: sudo apt update + + # This is needed for the container resolver dependencies + - name: Install libgpgme devel package + run: sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev podman - name: Build run: go build -v ./...