Skip to content

Reorganized Dependencies by Removing Unused Packages and Placing in Correct Sections #42

Reorganized Dependencies by Removing Unused Packages and Placing in Correct Sections

Reorganized Dependencies by Removing Unused Packages and Placing in Correct Sections #42

Workflow file for this run

name: "run-linting-checks"
on:
pull_request:
branches: [main, dev]
jobs:
run-pylint:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: LouisBrunner/[email protected]
id: init
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Pylint Report
status: in_progress
- uses: actions/checkout@v4
# update stats
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- run: pip install -r requirements.txt
- run: |
PYLINT_REPORT=$(./run_pylint.sh)
echo "PYLINT_REPORT<<EOF" >> $GITHUB_ENV
echo "$PYLINT_REPORT" >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- uses: LouisBrunner/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
check_id: ${{ steps.init.outputs.check_id }}
status: completed
conclusion: ${{ job.status }}
output: |
{"summary":"Pylint Report Generation ran with status: ${{job.status}}" , "text_description": "Pylint Issues are listed below."}
annotations: |
${{ env.PYLINT_REPORT }}