Skip to content

Commit 8f38d66

Browse files
vouillonhhugo
andauthored
CI: make sure the apt cache is up to date (#2078)
* CI: make sure the apt cache is up to date * fixup! CI: make sure the apt cache is up to date --------- Co-authored-by: Hugo Heuzard <hugo.heuzard@gmail.com>
1 parent 16d8210 commit 8f38d66

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/js_of_ocaml.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ jobs:
104104

105105

106106
steps:
107+
- name: Update apt cache
108+
if: ${{ matrix.os == 'ubuntu-latest' }}
109+
run: sudo apt-get update
110+
107111
- name: Set git to use LF
108112
if: ${{ matrix.os == 'windows-latest' && matrix.ocaml-compiler < 5.2 }}
109113
run: |

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
lint-opam:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Update apt cache
14+
run: sudo apt-get update
1315
- name: Checkout tree
1416
uses: actions/checkout@v4
1517
- name: Set-up OCaml

.github/workflows/wasm_of_ocaml.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
${{ (! matrix.separate_compilation) && 'Whole program / ' || ''}}${{ matrix.ocaml-compiler }} / ${{ matrix.os-name }}${{ matrix.all_jane_street_tests && ' / Jane Street tests' || ''}}
6363

6464
steps:
65+
- name: Update apt cache
66+
if: ${{ matrix.os == 'ubuntu-latest' }}
67+
run: sudo apt-get update
68+
6569
- name: Set git to use LF
6670
if: ${{ matrix.os == 'windows-latest' && matrix.ocaml-compiler < 5.2 }}
6771
run: |

0 commit comments

Comments
 (0)