update gh-action

This commit is contained in:
looooo
2024-01-04 20:53:48 +01:00
parent 26a289f37e
commit 246ee57d14

View File

@@ -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')