Skip to content

Commit 12188cb

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 e43eec5 commit 12188cb

File tree

1 file changed

+30
-31
lines changed

1 file changed

+30
-31
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -59,37 +59,36 @@ jobs:
5959
6060
- name: Install packages (Ubuntu)
6161
if: runner.os == 'Linux'
62-
run: |
63-
sudo apt-get update
64-
sudo apt-get install \
65-
clang \
66-
clang-tools \
67-
cmake \
68-
curl \
69-
git \
70-
gperf \
71-
libbrotli-dev \
72-
libclang-${{ matrix.clang-version }}-dev \
73-
libgcrypt20 \
74-
libreadline-dev \
75-
libidn2-dev \
76-
libldap2-dev \
77-
libncurses5-dev \
78-
libnghttp2-dev \
79-
libpcre3-dev \
80-
libpsl-dev \
81-
libreadline-dev \
82-
librtmp-dev \
83-
libssl-dev \
84-
libtool \
85-
llvm \
86-
llvm-dev \
87-
luarocks \
88-
ninja-build \
89-
pkg-config \
90-
rcs \
91-
strace \
92-
unzip \
62+
uses: awalsh128/cache-apt-pkgs-action@latest
63+
with:
64+
packages: |
65+
clang
66+
clang-tools
67+
cmake
68+
curl
69+
git
70+
gperf
71+
libbrotli-dev
72+
libclang-${{ matrix.clang-version }}-dev
73+
libgcrypt20
74+
libreadline-dev
75+
libidn2-dev
76+
libldap2-dev
77+
libncurses5-dev
78+
libnghttp2-dev
79+
libpcre3-dev
80+
libpsl-dev
81+
librtmp-dev
82+
libssl-dev
83+
libtool
84+
llvm
85+
llvm-dev
86+
luarocks
87+
ninja-build
88+
pkg-config
89+
rcs
90+
strace
91+
unzip
9392
zlib1g-dev
9493
9594
- name: Install packages (macOS)

0 commit comments

Comments
 (0)