From 246ee57d14abd520a217bc360814b636c513c1b3 Mon Sep 17 00:00:00 2001 From: looooo Date: Thu, 4 Jan 2024 20:53:48 +0100 Subject: [PATCH] update gh-action --- .github/workflows/pylint.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 10ad95b..abf3435 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -5,19 +5,14 @@ on: [push] jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.11"] steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + - uses: conda-incubator/setup-miniconda@v2 with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies + python-version: "3.11" + - name: install dependencies run: | - python -m pip install --upgrade pip - pip install pylint + mamba install freecad numpy scipy pylint - name: Analysing the code with pylint run: | pylint $(git ls-files '*.py')