Skip to content

Commit 62d626f

Browse files
authored
AO3-7475 Stop using cache-apt-pkgs-action in automated tests (#5830)
1 parent ff6108a commit 62d626f

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

.github/workflows/automated-tests.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,17 @@ jobs:
106106
- name: Check out code
107107
uses: actions/checkout@v6
108108

109-
- name: Install redis
110-
uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05
111-
with:
112-
packages: redis-server
113-
version: "1.0"
109+
- name: Run apt-get update
110+
run: sudo apt-get update
114111

115-
- name: Start up redis servers
116-
run: ./script/gh-actions/multiple_redis.sh
112+
- name: Install and start up redis servers
113+
run: |
114+
sudo apt-get install -y redis-server
115+
./script/gh-actions/multiple_redis.sh
117116
118117
- name: Install ebook converters
119118
if: ${{ matrix.tests.ebook }}
120-
uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05
121-
with:
122-
packages: calibre zip
123-
version: "1.0"
119+
run: sudo apt-get install -y calibre zip
124120

125121
- name: Cache VCR cassettes
126122
if: ${{ matrix.tests.vcr }}
@@ -144,10 +140,7 @@ jobs:
144140
145141
- name: Install libvips for image processing
146142
if: ${{ matrix.tests.libvips }}
147-
uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05
148-
with:
149-
packages: libvips-dev
150-
version: "1.0"
143+
run: sudo apt-get install -y libvips-dev
151144

152145
- name: Set up Ruby and run bundle install
153146
uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)