From a4e7ddf29839d36a4e7927eb809d279959c7ac4f Mon Sep 17 00:00:00 2001 From: Jelmer de Wolde Date: Fri, 1 Nov 2024 08:51:22 +0100 Subject: [PATCH] Set a fixed python version for ruff. Signed-off-by: Jelmer de Wolde --- .github/workflows/actions.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 79d2d1e..492bd09 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -24,7 +24,9 @@ jobs: path: "rcdt_linting" ref: "main" - uses: actions/setup-python@v5 - - run: pip install ruff --break-system-packages + with: + python-version: "3.10" + - run: pip install ruff - run: ruff format --check main - run: ruff check --config rcdt_linting/config/pyproject.toml main