From 2805c8c3b0406819933351bd1d77dd10cbc2a437 Mon Sep 17 00:00:00 2001 From: Marco Franssen Date: Tue, 22 Aug 2023 20:56:55 +0200 Subject: [PATCH] Split steps in check-versions wf for easier debugging Signed-off-by: Marco Franssen --- .github/workflows/check-versions.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-versions.yaml b/.github/workflows/check-versions.yaml index f28d1b4a4..dcedc59d9 100644 --- a/.github/workflows/check-versions.yaml +++ b/.github/workflows/check-versions.yaml @@ -34,6 +34,8 @@ jobs: - name: Setup go uses: actions/setup-go@v4.1.0 + with: + go-version: '1.21' - name: Setup crane uses: imjasonh/setup-crane@v0.3 @@ -42,13 +44,17 @@ jobs: with: python-version: '3.9' - - name: Update image tags - run: | - go install github.com/mikefarah/yq/v4@latest + - name: Install ubuntu packages + run: sudo apt-get install wget apt-transport-https gnupg lsb-release - sudo apt-get install wget apt-transport-https gnupg lsb-release - sudo pip install -r .github/scripts/requirements.txt + - name: Install yq + run: go install github.com/mikefarah/yq/v4@latest + - name: Install python dependencies + run: pip install -r .github/scripts/requirements.txt + + - name: Update image tags + run: | ./.github/scripts/update-tags.sh git diff