File tree Expand file tree Collapse file tree 7 files changed +582
-533
lines changed
Expand file tree Collapse file tree 7 files changed +582
-533
lines changed Original file line number Diff line number Diff line change 2525 python -m pip install --upgrade pip
2626 pip install pre-commit
2727 - name : set PY
28- run : echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
29- - uses : actions/cache@v4
28+ run : echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> " $GITHUB_ENV"
29+ - uses : actions/cache@v5
3030 with :
3131 path : ~/.cache/pre-commit
3232 key : pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
Original file line number Diff line number Diff line change 11name : Lint Code
2-
32on :
43 push :
5- branches : [ main ]
4+ branches : [main]
65 pull_request :
7- branches : [ main ]
6+ branches : [main]
7+
8+ permissions :
9+ contents : read
10+ statuses : write
11+ pull-requests : write
12+ checks : write
813
914jobs :
1015 super-linter :
2126 DEFAULT_BRANCH : main
2227 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2328 PYTHON_PYLINT_CONFIG_FILE : .pylintrc
29+ VALIDATE_ALL_CODEBASE : false
30+ DISABLE_ERRORS : false
31+ VALIDATE_GITHUB_ACTIONS : true
32+ VALIDATE_JSON : true
Original file line number Diff line number Diff line change 1+ bracketSpacing: false
2+ singleQuote: true
You can’t perform that action at this time.
0 commit comments