Browse Source

pylint workflow: cleanups

The MMGen Project 11 months ago
parent
commit
eb830e22d2
1 changed files with 2 additions and 7 deletions
  1. 2 7
      .github/workflows/pylint.yaml

+ 2 - 7
.github/workflows/pylint.yaml

@@ -1,6 +1,6 @@
 name: Pylint
 name: Pylint
 
 
-on: [push]
+on: push
 
 
 jobs:
 jobs:
   test:
   test:
@@ -18,16 +18,11 @@ jobs:
       with:
       with:
         python-version: ${{ matrix.python-version }}
         python-version: ${{ matrix.python-version }}
 
 
-    - name: Install Ubuntu dependencies
-      run: sudo apt-get update && sudo apt-get install curl
-
     - name: Install Python dependencies
     - name: Install Python dependencies
       run: |
       run: |
-        python3 -m pip install --upgrade pip
         python3 -m pip install gmpy2 cryptography pynacl ecdsa aiohttp requests pexpect scrypt semantic-version
         python3 -m pip install gmpy2 cryptography pynacl ecdsa aiohttp requests pexpect scrypt semantic-version
-        python3 -m pip install pycryptodomex pysocks pycoin ipaddress varint
+        python3 -m pip install pycryptodomex pysocks pycoin ipaddress varint pylint
         python3 -m pip install --no-deps py_ecc==1.6.0 mypy_extensions==0.4.1 monero
         python3 -m pip install --no-deps py_ecc==1.6.0 mypy_extensions==0.4.1 monero
-        python3 -m pip install pylint
 
 
     - name: Check the code with pylint static code analyzer
     - name: Check the code with pylint static code analyzer
       run: |
       run: |