Skip to content

Commit 5fa8111

Browse files
committed
ci: use awalsh128/cache-apt-pkgs-action@latest to cache apt install
We already use this GitHub Action on other projects like IA2 and rav1d.
1 parent 58a111a commit 5fa8111

File tree

1 file changed

+32
-31
lines changed

1 file changed

+32
-31
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -17,38 +17,39 @@ jobs:
1717
# cached, what gets used as part of the key, and what additional handling
1818
# happens to make the cache reliable and smaller.
1919
- uses: Swatinem/rust-cache@v2
20-
- run: |
21-
sudo apt-get update
22-
sudo apt-get install \
23-
clang \
24-
clang-tools \
25-
cmake \
26-
curl \
27-
git \
28-
gperf \
29-
libbrotli-dev \
30-
libclang-dev \
31-
libgcrypt20 \
32-
libreadline-dev \
33-
libidn2-dev \
34-
libldap2-dev \
35-
libncurses5-dev \
36-
libnghttp2-dev \
37-
libpcre3-dev \
38-
libpsl-dev \
39-
librtmp-dev \
40-
libssl-dev \
41-
libtool \
42-
llvm \
43-
llvm-dev \
44-
luarocks \
45-
ninja-build \
46-
pkg-config \
47-
rcs \
48-
strace \
49-
unzip \
20+
21+
- uses: awalsh128/cache-apt-pkgs-action@latest
22+
with:
23+
packages: |
24+
clang
25+
clang-tools
26+
cmake
27+
curl
28+
git
29+
gperf
30+
libbrotli-dev
31+
libclang-dev
32+
libgcrypt20
33+
libreadline-dev
34+
libidn2-dev
35+
libldap2-dev
36+
libncurses5-dev
37+
libnghttp2-dev
38+
libpcre3-dev
39+
libpsl-dev
40+
librtmp-dev
41+
libssl-dev
42+
libtool
43+
llvm
44+
llvm-dev
45+
luarocks
46+
ninja-build
47+
pkg-config
48+
rcs
49+
strace
50+
unzip
5051
zlib1g-dev
51-
52+
5253
- uses: astral-sh/setup-uv@v6
5354

5455
- name: Install Python Packages

0 commit comments

Comments
 (0)