Skip to content

Commit 5c01af1

Browse files
committed
CI: consolidate and simplify APT steps
1 parent 8d87f5c commit 5c01af1

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/test.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,13 @@ jobs:
5555
ruby-version: ${{ matrix.ruby-version }}
5656
bundler-cache: true
5757

58-
- name: Update apt
59-
env:
60-
DEBIAN_FRONTEND: noninteractive
61-
run:
62-
sudo apt-get update -qq -o Acquire::Retries=3
63-
6458
- name: Install libvips
6559
env:
6660
DEBIAN_FRONTEND: noninteractive
67-
run:
61+
run: |
62+
sudo apt-get update
6863
# we only need the library
69-
sudo apt-get install --no-install-recommends --fix-missing -qq -o Acquire::Retries=3
70-
libvips
64+
sudo apt-get install --no-install-recommends libvips
7165
7266
- name: Run Tests
7367
run: bundle exec rake spec

0 commit comments

Comments
 (0)