Skip to content

Commit

Permalink
Rename and refractor linting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubKorytko committed Nov 7, 2023
1 parent dfc7e20 commit 0391c59
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 25 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run Linting

on: [push]

jobs:
lint_code:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Python 3.11.4
uses: actions/setup-python@v3
with:
python-version: '3.11.4'
cache: 'pip'

- name: Install pip
run: python -m pip install --upgrade pip

- name: Install dependencies
run: pip install -r requirements.txt

- name: Install pylint
run: pip install pylint

- name: Run pylint
run: pylint $(git ls-files '*.py')
25 changes: 0 additions & 25 deletions .github/workflows/pylint.yml

This file was deleted.

0 comments on commit 0391c59

Please sign in to comment.