From b4bcaa19292a4bd89d2cc6fad48aee0c50f90896 Mon Sep 17 00:00:00 2001 From: Samarpan Harit Date: Tue, 17 Dec 2024 22:50:13 +0530 Subject: [PATCH 1/4] fix: Remove container definition from github workflow This was causing error while installing python requirements. It's conflicting with `actions/setup-python@v4` --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7206c27..adaa43d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,6 @@ on: jobs: build: runs-on: ubuntu-latest - container: python:3.12-slim-bookworm services: db: From 809252095e27ce946d3b432edb8f3b23529138c4 Mon Sep 17 00:00:00 2001 From: Samarpan Harit Date: Wed, 25 Dec 2024 01:36:41 +0530 Subject: [PATCH 2/4] Use latest (v5) version for setup-python action --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index adaa43d..b8f172e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.12' From 8127934194d3e5ef473fb6362b748af99273e482 Mon Sep 17 00:00:00 2001 From: Samarpan Harit Date: Wed, 25 Dec 2024 01:47:00 +0530 Subject: [PATCH 3/4] Set the exact python version in setup-python action --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8f172e..817bd91 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.12.7' - name: Install dependencies run: | From c483e89926c1a1c344422bb9cc8ffd24796b0053 Mon Sep 17 00:00:00 2001 From: Samarpan Harit Date: Thu, 26 Dec 2024 23:12:29 +0530 Subject: [PATCH 4/4] Use wildcard for patch version in python version in setup-python action --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 817bd91..1b527eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.12.7' + python-version: '3.12.*' - name: Install dependencies run: |