Skip to content

Commit 23cbe57

Browse files
sha3-hax ci fixup
1 parent 8a839ef commit 23cbe57

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

.github/workflows/sha3-hax.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,27 @@ jobs:
2727
# NOTE: This always runs, even if the `hax_ref` workflow input is provided.
2828
# TODO: Move this reusable workflow to a standalone action
2929

30-
extract:
31-
runs-on: ubuntu-latest
32-
33-
steps:
34-
- uses: actions/checkout@v5
35-
- uses: hacspec/hax-actions@main
36-
with:
37-
hax_reference: ${{ github.event.inputs.hax_ref }}
38-
fstar: v2025.02.17
39-
40-
- name: 🏃 Extract SHA3 crate
41-
working-directory: libcrux-sha3
42-
run: ./hax.py extract
43-
44-
- name: ↑ Upload F* extraction (standard)
45-
uses: actions/upload-artifact@v4
46-
with:
47-
name: fstar-extractions-standard
48-
path: "**/proofs/fstar"
49-
include-hidden-files: true
50-
if-no-files-found: error
30+
extract:
31+
runs-on: ubuntu-latest
32+
33+
steps:
34+
- uses: actions/checkout@v5
35+
- uses: hacspec/hax-actions@main
36+
with:
37+
hax_reference: ${{ github.event.inputs.hax_ref }}
38+
fstar: v2025.02.17
39+
40+
- name: 🏃 Extract SHA3 crate
41+
working-directory: libcrux-sha3
42+
run: ./hax.py extract
43+
44+
- name: ↑ Upload F* extraction (standard)
45+
uses: actions/upload-artifact@v4
46+
with:
47+
name: fstar-extractions-standard
48+
path: "**/proofs/fstar"
49+
include-hidden-files: true
50+
if-no-files-found: error
5151

5252
extract-portable:
5353
if: ${{ github.event_name != 'merge_group' }}
@@ -96,39 +96,39 @@ extract:
9696
- name: 🏃 Lax SHA3 crate (portable)
9797
working-directory: libcrux-sha3
9898
run: ./hax.py prove --admit
99-
99+
100100
sha3-extract-hax-status:
101101
if: ${{ always() }}
102102
needs: [extract]
103103
runs-on: ubuntu-latest
104104
steps:
105105
- name: Successful
106-
if: ${{ !(contains(needs.*.result, 'failure')) }}
107-
run: exit 0
106+
if: ${{ !(contains(needs.*.result, 'failure')) }}
107+
run: exit 0
108108
- name: Failing
109-
if: ${{ (contains(needs.*.result, 'failure')) }}
110-
run: exit 1
109+
if: ${{ (contains(needs.*.result, 'failure')) }}
110+
run: exit 1
111111

112112
sha3-extract-portable-hax-status:
113113
if: ${{ always() }}
114114
needs: [extract-portable]
115115
runs-on: ubuntu-latest
116116
steps:
117117
- name: Successful
118-
if: ${{ !(contains(needs.*.result, 'failure')) }}
119-
run: exit 0
118+
if: ${{ !(contains(needs.*.result, 'failure')) }}
119+
run: exit 0
120120
- name: Failing
121-
if: ${{ (contains(needs.*.result, 'failure')) }}
122-
run: exit 1
121+
if: ${{ (contains(needs.*.result, 'failure')) }}
122+
run: exit 1
123123

124124
sha3-lax-portable-hax-status:
125125
if: ${{ always() }}
126126
needs: [lax-portable]
127127
runs-on: ubuntu-latest
128128
steps:
129129
- name: Successful
130-
if: ${{ !(contains(needs.*.result, 'failure')) }}
131-
run: exit 0
130+
if: ${{ !(contains(needs.*.result, 'failure')) }}
131+
run: exit 0
132132
- name: Failing
133-
if: ${{ (contains(needs.*.result, 'failure')) }}
134-
run: exit 1
133+
if: ${{ (contains(needs.*.result, 'failure')) }}
134+
run: exit 1

0 commit comments

Comments
 (0)