From 3e1f38821265fdd5cc5cd2b492ca1bb7c1eb4b96 Mon Sep 17 00:00:00 2001 From: Christoph Ostarek Date: Wed, 10 Jul 2024 16:23:55 +0200 Subject: [PATCH] github/workflows: install golang as it is needed for `get-deps` and to run `yq` Signed-off-by: Christoph Ostarek --- .github/workflows/assets.yml | 3 +++ .github/workflows/build.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 007b931b3f3..f2ae7b8b4af 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -52,6 +52,9 @@ jobs: run: | rm -rf assets && mkdir -p assets - name: Pull the EVE release from DockerHUB or build it + uses: actions/setup-go@v5 + with: + go-version: '1.22' run: | HV=kvm if [ "${{ github.event.repository.full_name }}" = "lf-edge/eve" ]; then diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e6846b020f..2842be3286d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,6 +68,9 @@ jobs: path: ~/.linuxkit/cache key: linuxkit-${{ matrix.arch }}-${{ github.sha }} - name: Build packages + uses: actions/setup-go@v5 + with: + go-version: '1.22' run: | make V=1 PRUNE=1 ZARCH=${{ matrix.arch }} pkgs - name: Post package report