From 15d40873b08f6ab8f89231b40fa3569171538eaa Mon Sep 17 00:00:00 2001 From: Raymond Kuiper Date: Fri, 8 Mar 2024 13:32:29 +0100 Subject: [PATCH] rename actions to workflows --- .github/workflows/quality.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/quality.yml diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml new file mode 100644 index 0000000..f96f14d --- /dev/null +++ b/.github/workflows/quality.yml @@ -0,0 +1,25 @@ +--- +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + pip install -r requirements.txt + - name: Analysing the code with pylint + run: | + pylint $(git ls-files '*.py')