File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 12
12
uses : actions/setup-python@v5
13
13
with :
14
14
python-version : ${{ inputs.python-version }}
15
- - uses : actions/cache@v4
15
+ - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2
16
16
with :
17
17
path : |
18
18
~/.cache/pip
Original file line number Diff line number Diff line change @@ -29,12 +29,22 @@ jobs:
29
29
30
30
- run : pip install -U pip setuptools wheel && pip install -U .
31
31
32
- - name : Install lint dependencies
33
- run : |
34
- pip install flake8 coverage mypy types-Markdown
35
- sudo apt update && sudo apt-get install \
36
- texlive-xetex lmodern texlive-fonts-recommended # test_pdf_pandoc
37
- wget -O/tmp/pandoc.deb https://github.com/jgm/pandoc/releases/download/3.1.12.2/pandoc-3.1.12.2-1-amd64.deb && sudo dpkg -i /tmp/pandoc.deb
32
+ - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2
33
+ with :
34
+ path : /tmp/pandoc.deb
35
+ key : pandoc
36
+
37
+ - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2
38
+ with :
39
+ path : /var/cache/apt/archives/*.deb
40
+ key : apt-cache
41
+
42
+ - run : pip install flake8 coverage mypy types-Markdown
43
+
44
+ # test_pdf_pandoc
45
+ - run : sudo apt-get update && sudo apt-get install texlive-xetex lmodern texlive-fonts-recommended
46
+ - run : wget --no-clobber -O/tmp/pandoc.deb https://github.com/jgm/pandoc/releases/download/3.1.12.2/pandoc-3.1.12.2-1-amd64.deb || true
47
+ - run : sudo dpkg -i /tmp/pandoc.deb
38
48
39
49
- run : find -name '*.md' | xargs .github/lint-markdown.sh
40
50
- run : flake8 pdoc setup.py
59
69
run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
60
70
61
71
- run : pip install -U pip setuptools wheel && pip install -e .
62
- - run : time doc/build.sh
72
+ - run : time doc/build.sh
You can’t perform that action at this time.
0 commit comments