File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ echo "Current OCaml commit: ${CURRENT_COMMIT}"
6262
6363# Find all Rust files with OCaml references
6464cd " ${RUST_ROOT} "
65- RUST_FILES=$( rg -l " ^/// OCaml reference:" --type rust || true)
65+ RUST_FILES=$( git grep -l -E " ^/// OCaml reference:" " *.rs " " **/*.rs " || true)
6666
6767if [ -z " $RUST_FILES " ]; then
6868 echo " No OCaml references found in Rust code"
Original file line number Diff line number Diff line change @@ -40,14 +40,12 @@ jobs:
4040 - name : Checkout repository
4141 uses : actions/checkout@v5
4242
43- - name : Install ripgrep
44- run : sudo apt-get update && sudo apt-get install -y ripgrep
45-
4643 - name : Run OCaml reference validation
4744 id : check
4845 env :
4946 OCAML_REPO : ${{ github.event.inputs.repo || 'https://github.com/MinaProtocol/mina.git' }}
5047 OCAML_BRANCH : ${{ github.event.inputs.branch || 'compatible' }}
48+ shell : bash
5149 run : |
5250 set +e
5351 # Capture output to file
You can’t perform that action at this time.
0 commit comments