diff options
author | Christian Cleberg <156287552+ccleberg@users.noreply.github.com> | 2024-10-19 16:40:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-19 16:40:03 +0000 |
commit | 7ac171a45380772b040800786db0b9384b4e11d8 (patch) | |
tree | 08e2d6deed43cadbf5a91999ede8cd9e7b27a7ec /.github/workflows | |
parent | a94928e85b0830be10a46055121f7e86775ddb79 (diff) | |
download | audit-tools-7ac171a45380772b040800786db0b9384b4e11d8.tar.gz audit-tools-7ac171a45380772b040800786db0b9384b4e11d8.tar.bz2 audit-tools-7ac171a45380772b040800786db0b9384b4e11d8.zip |
Create pylint.yml
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pylint.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..c73e032 --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,23 @@ +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + 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 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Analysing the code with pylint + run: | + pylint $(git ls-files '*.py') |