From 7ae3375999e25557417dbe5efe83f78fb0198f6f Mon Sep 17 00:00:00 2001 From: Luis Medel Date: Fri, 13 Dec 2024 22:16:19 +0100 Subject: [PATCH] Use inputs for CI --- .bluish/ci.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.bluish/ci.yaml b/.bluish/ci.yaml index b6eba8c..96333aa 100644 --- a/.bluish/ci.yaml +++ b/.bluish/ci.yaml @@ -1,10 +1,7 @@ -var: - python_version: "3.12" - inputs: - - name: test - default: 1 + - name: python_version + default: "3.11" jobs: _prepare_lint: @@ -22,7 +19,7 @@ jobs: ruff check src/ test/ echo "" mypy --version - mypy --ignore-missing-imports --python-version=${{ python_version }} src/ test/ + mypy --ignore-missing-imports --python-version=${{ workflow.inputs.python_version }} src/ test/ fix: name: Reformat the code using ruff