File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ jobs:
2222 run : |
2323 pylint $(git ls-files '*.py')
2424 - name : Extract score
25- id : extract_score
26- run : |
27- score=$(grep "rated at" pylint-output.txt | sed -E 's/.*rated at ([0-9]+\.[0-9]+)\/10.*/\1/')
28- echo "score=$score" >> $GITHUB_OUTPUT
29- - name : Set badge label (optional)
30- run : |
31- echo "::set-output name=badge_url::https://img.shields.io/badge/pylint-${{ steps.extract_score.outputs.score }}%2F10-brightgreen"
25+ id : extract_score
26+ run : |
27+ score=$(grep "rated at" pylint-output.txt | sed -E 's/.*rated at ([0-9]+\.[0-9]+)\/10.*/\1/')
28+ echo "score=$score" >> $GITHUB_OUTPUT
29+ - name : Set badge label (optional)
30+ run : |
31+ echo "::set-output name=badge_url::https://img.shields.io/badge/pylint-${{ steps.extract_score.outputs.score }}%2F10-brightgreen"
You can’t perform that action at this time.
0 commit comments