File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 1010 PYTHONUNBUFFERED : " 1"
1111 FORCE_COLOR : " 1"
1212 HATCH_VERSION : " 1.15.1"
13+ HATCH_DATA_DIR : " ~/.hatch"
14+ HATCH_CACHE_DIR : " ~/.cache/hatch"
1315
1416jobs :
1517 test :
@@ -41,13 +43,30 @@ jobs:
4143 python-version : " ${{matrix.python-version}}"
4244 cache : " pip"
4345
46+ - name : Cache hatch
47+ 48+ with :
49+ path : |
50+ ~/.cache/hatch
51+ ~/.hatch
52+ key : hatch-${{runner.os}}-${{matrix.python-version}}-${{hashFiles('pyproject.toml')}}
53+ restore-keys : |
54+ hatch-${{runner.os}}-${{matrix.python-version}}-
55+ hatch-${{runner.os}}-
56+
57+ - name : Cache nitpick
58+ 59+ with :
60+ path : .cache/nitpick
61+ key : nitpick-${{runner.os}}-${{matrix.python-version}}
62+ restore-keys : |
63+ nitpick-${{runner.os}}-
64+
4465 - name : Install Hatch
4566 uses : pypa/hatch@install
4667 with :
4768 version : " ${{ env.HATCH_VERSION }}"
4869
49- - run : hatch env find
50-
5170 - name : Run type check
5271 run : hatch run types:check
5372
You can’t perform that action at this time.
0 commit comments