Skip to content

Adding methods for rules and decoders #160

Adding methods for rules and decoders

Adding methods for rules and decoders #160

name: code_analysis
on:
- pull_request
jobs:
linting:
runs-on: ubuntu-20.04
steps:
- name: Download files
uses: actions/checkout@v3
- name: Install pycodestyle and yamllint linter
run: python -m pip install pycodestyle==2.8.0 yamllint==1.26.3
- name: Get the updated files
id: updated_files
uses: Ana06/[email protected]
with:
format: csv
- name: Save the updated files data
run: echo ${{ steps.updated_files.outputs.added_modified }} > updated_files.txt
- name: Run linter script
run: |
chmod +x .github/workflows/scripts/linter.py
python .github/workflows/scripts/linter.py --file updated_files.txt -c .github/workflows/scripts/config