adjust c code style #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pylint | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 2.7 | |
run: | | |
sudo add-apt-repository universe | |
sudo apt update | |
sudo apt install -y python2 | |
- name: Install dependencies | |
run: | | |
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py | |
sudo python2 get-pip.py | |
pip2 install pylint | |
- name: Analysing the code with pylint | |
run: | | |
pylint $(git ls-files '*.py') |