From de1eed9cb58852a7b2a76e1ba91b2b1a8952ec63 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Mon, 30 Oct 2023 17:30:11 +0100 Subject: [PATCH] ci: pin python version to 3.11 (#378) ##### SUMMARY This is an attempt to fix the linting job: https://github.com/ansible-collections/hetzner.hcloud/actions/runs/6692855477/job/18182866932 Run on python 3.11 until the following ticket is solved: https://github.com/aio-libs/aiohttp/issues/7675 --- .github/workflows/lint.yml | 2 +- .github/workflows/release-please.yml | 2 +- .github/workflows/vendor.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f68e2b2..cdcaf95 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: - name: Setup python uses: actions/setup-python@v4 with: - python-version: 3.x + python-version: "3.11" cache: pip cache-dependency-path: requirements.txt diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 7747606..2f1ed8b 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -53,7 +53,7 @@ jobs: - name: Setup python uses: actions/setup-python@v4 with: - python-version: 3.x + python-version: "3.11" - name: Install dependencies run: pip install antsibull-changelog diff --git a/.github/workflows/vendor.yml b/.github/workflows/vendor.yml index b051fd9..cbf101d 100644 --- a/.github/workflows/vendor.yml +++ b/.github/workflows/vendor.yml @@ -20,7 +20,7 @@ jobs: - name: Setup python uses: actions/setup-python@v4 with: - python-version: 3.x + python-version: "3.11" - name: Ensure vendors are not diverging run: make vendor-check