Skip to content

Commit c569624

Browse files
committed
[Refactor] Update Python linting workflow for consistency and cache action version
1 parent 63cee7f commit c569624

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pylint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-python@v2
1111
with:
12-
python-version: '3.9'
12+
python-version: "3.9"
1313
- name: Cache Pip
14-
uses: actions/cache@v2
14+
uses: actions/cache@v4
1515
with:
1616
path: ~/.cache/pip
1717
key: ${{ runner.os }}-${{ github.job }}-pip-${{ github.sha }}
1818
restore-keys: |
19-
${{ runner.os }}-${{ github.job }}-pip-
19+
${{ runner.os }}-${{ github.job }}-pip-
2020
- name: Install python libraries
21-
run : |
21+
run: |
2222
python3 -m pip install --upgrade pip
2323
python3 -m pip install flake8 flake8-bugbear
2424
- name: Run python linting
25-
run : python3 -m flake8
25+
run: python3 -m flake8

0 commit comments

Comments
 (0)