Skip to content

Commit a766aeb

Browse files
committed
Another try
1 parent cba9727 commit a766aeb

1 file changed

Lines changed: 13 additions & 17 deletions

File tree

.github/workflows/lint.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,22 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v3
1414

15-
- name: Setup Python
15+
- name: Setup Python
1616
uses: actions/setup-python@v3
1717
with:
1818
python-version: '3.9'
19+
cache: 'pip'
20+
cache-dependency-path: |
21+
requirements.txt
22+
requirements_optional.txt
23+
requirements_test.txt
1924
20-
- name: Cache pip
21-
uses: actions/cache@v3
22-
with:
23-
path: ~/.cache/pip
24-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
25-
restore-keys: |
26-
${{ runner.os }}-pip-
25+
- name: Install pre-commit
26+
run: |
27+
python -m pip install --upgrade pip wheel
28+
make native-install-all
2729
28-
- name: Install pre-commit
29-
run: |
30-
python -m pip install --upgrade pip wheel
31-
make native-install-all
32-
33-
- name: Run lint
34-
run: |
35-
make native-lint
30+
- name: Run lint
31+
run: make native-lint

0 commit comments

Comments
 (0)