From 054c4e089e69626d981c7cc8f306a419dab8b1f1 Mon Sep 17 00:00:00 2001 From: Marco Ebert Date: Fri, 14 Jun 2024 18:52:30 +0200 Subject: [PATCH] CI: Rework Python. --- .github/workflows/chart.yaml | 5 +++++ .github/workflows/ci.yaml | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/chart.yaml b/.github/workflows/chart.yaml index f92ffa90f..d3f800810 100644 --- a/.github/workflows/chart.yaml +++ b/.github/workflows/chart.yaml @@ -22,6 +22,11 @@ jobs: contents: write steps: + - name: Set up Python + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 + with: + python-version: 3.x + - name: Checkout master uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 029c49d0e..db36bbefb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -201,6 +201,11 @@ jobs: if: fromJSON(needs.changes.outputs.charts) || fromJSON(needs.changes.outputs.baseimage) || fromJSON(github.event.workflow_dispatch.run_e2e) steps: + - name: Set up Python + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 + with: + python-version: 3.x + - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: @@ -209,10 +214,6 @@ jobs: - name: Set up Helm uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0 - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 - with: - python-version: '3.x' - - name: Set up chart-testing uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1