Skip to content

Commit e2fabc7

Browse files
author
akashjavelin
committed
devops: updating lint checks
1 parent 13df785 commit e2fabc7

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/pr-check.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939

4040
- name: Get the last commit message
4141
id: commit_message
42-
run: |
43-
COMMIT_MESSAGE=$(git show -s --format=%s)
44-
echo "message=${COMMIT_MESSAGE}" >> ${GITHUB_OUTPUT}
42+
run: |-
43+
COMMIT_MESSAGE=$(git show -s --format=%s)
44+
echo "message=${COMMIT_MESSAGE}" >> ${GITHUB_OUTPUT}
4545
4646
- name: Commit Message Check
4747
shell: bash
@@ -76,8 +76,8 @@ jobs:
7676
- name: Lint Check
7777
shell: bash
7878
run: |-
79-
pip install flake8
80-
flake8 . --config=${{ env.PY_LINT_CFG }} --output-file=${{ env.LINT_REPORT_FILE }}.json
79+
pip install flake8
80+
flake8 . --config=${{ env.PY_LINT_CFG }} --output-file=${{ env.LINT_REPORT_FILE }}.json
8181
8282
- name: Upload Lint Report
8383
if: ${{ always() }}
@@ -89,9 +89,9 @@ jobs:
8989

9090
- name: Check If File Exists
9191
id: check_lint_report
92-
run: |
92+
run: |-
9393
if [[ -f "${{ env.LINT_REPORT_FILE }}.json" ]] ; then
94-
echo "lint_report=true" >> ${GITHUB_OUTPUT}
94+
echo "lint_report=true" >> ${GITHUB_OUTPUT}
9595
fi
9696
outputs:
9797
lint_report: ${{ steps.check_lint_report.outputs.lint_report }}

0 commit comments

Comments
 (0)