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 69040b7 commit e818a08Copy full SHA for e818a08
.github/workflows/tests.yml
@@ -34,6 +34,10 @@ jobs:
34
35
runs-on: ${{ matrix.os }}
36
37
+ concurrency:
38
+ group: ${{ github.workflow }}-${{ github.ref }}
39
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
40
+
41
env:
42
HF_TOKEN: ${{ secrets.HF_TOKEN }}
43
OS_NAME: ${{ matrix.os }}
@@ -54,6 +58,14 @@ jobs:
54
58
python -m pip install --upgrade pip
55
59
python -m pip install ".[torch,dev]"
56
60
61
+ - name: Cache files
62
+ uses: actions/cache@v4
63
+ with:
64
+ path: |
65
+ /home/runner/.cache/huggingface/hub/datasets--*
66
+ /home/runner/.cache/huggingface/hub/models--*
67
+ key: ${{ runner.os }}-hf-hub-cache-${{ hashFiles('**/conftest.py') }}
68
57
69
- name: Check quality
70
run: |
71
make style && make quality
0 commit comments