Skip to content

Commit

Permalink
CI: use apt-fast
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Nov 15, 2022
1 parent ab65ee0 commit d44e5ec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/auto-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,13 @@ jobs:
with:
python-version: "3.11"

- name: Install utilities
- name: Install LaTeX
run: |
sudo apt update
sudo apt install dvipng texlive-latex-extra texlive-fonts-extra texlive-science dictzip
/bin/bash -c "$(curl -sL https://git.io/vokNn)"
sudo apt-fast update
sudo apt-fast --yes install dictzip dvipng texlive-fonts-extra texlive-latex-extra texlive-science
env:
DEBIAN_FRONTEND: noninteractive

- uses: actions/cache@v3
id: cache
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
with:
python-version: "3.11"

- name: Install LaTeX requirements
- name: Install LaTeX
run: |
sudo apt update
sudo apt install dvipng texlive-latex-extra texlive-fonts-extra texlive-science
/bin/bash -c "$(curl -sL https://git.io/vokNn)"
sudo apt-fast update
sudo apt-fast --yes install dvipng texlive-fonts-extra texlive-latex-extra texlive-science
env:
DEBIAN_FRONTEND: noninteractive

- uses: actions/cache@v3
id: cache
Expand Down

0 comments on commit d44e5ec

Please sign in to comment.