Skip to content

Commit 3cb60fc

Browse files
authored
Merge pull request #5816 from NlightNFotis/fix-docker-image-check-dependencies-fetching
[CI] [Hotfix] Add an apt-update step to the ubuntu CI jobs.
2 parents 8745e42 + 9171ef3 commit 3cb60fc

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/pull-request-checks.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
# user input
1717
DEBIAN_FRONTEND: noninteractive
1818
run: |
19+
sudo apt-get update
1920
sudo apt-get install --no-install-recommends -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache cmake
2021
- name: Prepare ccache
2122
uses: actions/cache@v2
@@ -70,6 +71,7 @@ jobs:
7071
# user input
7172
DEBIAN_FRONTEND: noninteractive
7273
run: |
74+
sudo apt-get update
7375
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen
7476
- name: Prepare ccache
7577
uses: actions/cache@v2
@@ -232,6 +234,7 @@ jobs:
232234
# user input
233235
DEBIAN_FRONTEND: noninteractive
234236
run: |
237+
sudo apt-get update
235238
sudo apt-get install --no-install-recommends -yq clang-format-7
236239
- name: Check updated lines of code match clang-format-7 style
237240
env:
@@ -313,7 +316,9 @@ jobs:
313316
with:
314317
submodules: recursive
315318
- name: Fetch dependencies
316-
run: sudo apt-get install --no-install-recommends -y g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
319+
run: |
320+
sudo apt-get update
321+
sudo apt-get install --no-install-recommends -y g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
317322
- name: Prepare ccache
318323
uses: actions/cache@v2
319324
with:
@@ -365,7 +370,9 @@ jobs:
365370
with:
366371
submodules: recursive
367372
- name: Download test dependencies
368-
run: sudo apt install openjdk-11-jdk-headless
373+
run: |
374+
sudo apt update
375+
sudo apt install openjdk-11-jdk-headless
369376
- name: Build docker image
370377
run: docker build -t cbmc .
371378
- name: Smoke test goto-cc

0 commit comments

Comments
 (0)