From 11dff47e9da5e5e84f30cf0bd5d6ffc30e488f97 Mon Sep 17 00:00:00 2001 From: probonopd Date: Tue, 2 Jul 2024 20:51:18 +0200 Subject: [PATCH] Windows --- .github/workflows/pylint.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index c280625..ccdc7a7 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -4,21 +4,21 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest # Use windows-latest for Windows 10 and 11 support strategy: matrix: python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v2 # Update to v2 for better Windows support with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install pylint - pip install -r requirements.txt + pip install -r requirements.txt # Make sure requirements.txt is in your repository - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') + pylint $(Get-ChildItem -Path . -Filter "*.py" -Recurse | Select-Object -ExpandProperty FullName)