We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 460fa76 commit fbe0aaeCopy full SHA for fbe0aae
.github/workflows/pre-commit.yml
@@ -8,12 +8,23 @@ on:
8
jobs:
9
pre-commit:
10
runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ python-version: ["3.12"]
14
+
15
steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-python@v3
- - name: Install dependencies
16
+ - uses: actions/checkout@v4
17
18
+ - name: Set up Python ${{ matrix.python-version }}
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
23
+ - name: Install packages
24
run: |
- python -m pip install --upgrade pip
25
+ pip install --upgrade pip
26
pip install datasets docker GitPython hydra-core modal pre-commit
27
+ pip list
28
29
- name: Lint
- run: pre-commit run -a
30
+ run: pre-commit run --all-files --show-diff-on-failure --color always
0 commit comments