Skip to content

Commit

Permalink
Remove .git directory to avoid opam fetching submodules in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeom committed Oct 24, 2024
1 parent 0ff5337 commit 775952d
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Removes ·git to prevent opam from checking out submodueles
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Removes ·git to prevent opam from checking out submodueles
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
uses: ocaml/setup-ocaml@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-alt-ergo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Removes ·git to prevent opam from checking out submodueles
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
uses: ocaml/setup-ocaml@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-bitwuzla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Removes ·git to prevent opam from checking out submodueles
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
uses: ocaml/setup-ocaml@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-colibri2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Removes ·git to prevent opam from checking out submodueles
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
uses: ocaml/setup-ocaml@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-cvc5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Removes ·git to prevent opam from checking out submodueles
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
uses: ocaml/setup-ocaml@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-z3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Removes ·git to prevent opam from checking out submodueles
- name: Remove .git
run: rm -rf .git

- name: Setup OCaml 4.14
uses: ocaml/setup-ocaml@v3
with:
Expand Down

0 comments on commit 775952d

Please sign in to comment.