From 053f273d6b18a9d6ad19d70537b2fd98633b657c Mon Sep 17 00:00:00 2001 From: SKairinos Date: Thu, 18 Jan 2024 11:35:09 +0000 Subject: [PATCH] quick fix --- .github/workflows/test-python-code.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-python-code.yaml b/.github/workflows/test-python-code.yaml index 78b97683..b2edbfd4 100644 --- a/.github/workflows/test-python-code.yaml +++ b/.github/workflows/test-python-code.yaml @@ -6,27 +6,27 @@ on: python-version: description: "The python version to set up." type: number - required: true + required: false default: 3.8 working-directory: description: "The current working directory." type: string - required: true + required: false default: "." source-path: description: "The path of the source files." type: string - required: true + required: false default: "." check-django-migrations: description: "Check if there are pending Django migrations." type: boolean - required: true + required: false default: true pyproject-toml-directory: description: "The directory where pyproject.toml is located." type: string - required: true + required: false default: "." jobs: @@ -35,6 +35,9 @@ jobs: env: PYPROJECT_TOML: ${{ inputs.pyproject-toml-directory }}/pyproject.toml steps: + - name: 🛫 Checkout + uses: actions/checkout@v4 + - name: 🐍 Set up Python ${{ inputs.python-version }} Environment uses: ocadotechnology/codeforlife-workspace/.github/actions/python/setup-environment@main with: