From 51427eef9170a815ce84eeb06741ae301307decb Mon Sep 17 00:00:00 2001 From: Ankitsinghsisodya Date: Wed, 1 Apr 2026 23:58:02 +0530 Subject: [PATCH] ci: add actions/setup-python before smoke tests in update-python-platform Without an explicit setup-python step, the smoke tests run against whatever Python version happens to be on the runner image, which may differ from the project's required Python 3.10. Closes knative/func#3561 --- .github/workflows/update-python-platform.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/update-python-platform.yaml b/.github/workflows/update-python-platform.yaml index aff2e650d7..ba88a4a6ff 100644 --- a/.github/workflows/update-python-platform.yaml +++ b/.github/workflows/update-python-platform.yaml @@ -24,6 +24,10 @@ jobs: - name: Run make generate run: make generate/zz_filesystem_generated.go + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + - name: Run smoke tests run: make test-python