Skip to content

Commit a2811da

Browse files
committed
Some comments in ci.yml
1 parent 761dc42 commit a2811da

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
# and so far no Karamel regression test suite for EverParse
6565
# requires 3d
6666
67+
# Paranoid delete before saving. Note: run_id is constant across reruns.
6768
- name: Delete OPAM state if it already existed
6869
run: |
6970
gh cache delete opam-${{ runner.os }}-${{ runner.arch }}-${{ github.run_id }} || true
@@ -103,7 +104,7 @@ jobs:
103104
- name: Restore OPAM state
104105
uses: actions/cache/restore@v4
105106
with:
106-
fail-on-cache-miss: true
107+
fail-on-cache-miss: true # should never happen, cache was filled by build-deps
107108
path: _opam
108109
key: opam-${{ runner.os }}-${{ runner.arch }}-${{ github.run_id }}
109110

@@ -153,7 +154,7 @@ jobs:
153154
- name: Restore OPAM state
154155
uses: actions/cache/restore@v4
155156
with:
156-
fail-on-cache-miss: true
157+
fail-on-cache-miss: true # should never happen, cache was filled by build-deps
157158
path: _opam
158159
key: opam-${{ runner.os }}-${{ runner.arch }}-${{ github.run_id }}
159160

@@ -193,6 +194,7 @@ jobs:
193194
run: |
194195
git pull && make cbor-extract-krml cose-extract-krml -kj$(nproc)
195196
197+
# Paranoid delete before saving. Note: run_id is constant across reruns.
196198
- name: Delete EverParse cache if it already existed
197199
run: |
198200
gh cache delete everparse-${{ runner.os }}-${{ runner.arch }}-${{ github.run_id }} || true

0 commit comments

Comments
 (0)