Remove references to submodules (#11673)

This PR removes the references to initializing Git submodules as part of
building Zed.

These are no longer needed, as our only submodule was removed in #11672.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-05-10 14:33:53 -04:00 committed by GitHub
parent c9738a233e
commit b34ab6f3a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 3 additions and 33 deletions

View File

@ -32,7 +32,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
fetch-depth: 0 fetch-depth: 0
- name: Remove untracked files - name: Remove untracked files
@ -87,7 +86,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: cargo clippy - name: cargo clippy
run: cargo xtask clippy run: cargo xtask clippy
@ -115,7 +113,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: cargo clippy - name: cargo clippy
run: cargo xtask clippy run: cargo xtask clippy
@ -132,7 +129,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: Cache dependencies - name: Cache dependencies
uses: swatinem/rust-cache@v2 uses: swatinem/rust-cache@v2
@ -175,7 +171,6 @@ jobs:
# 25 was chosen arbitrarily. # 25 was chosen arbitrarily.
fetch-depth: 25 fetch-depth: 25
clean: false clean: false
submodules: "recursive"
- name: Limit target directory size - name: Limit target directory size
run: script/clear-target-dir-if-larger-than 100 run: script/clear-target-dir-if-larger-than 100
@ -273,7 +268,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: Limit target directory size - name: Limit target directory size
run: script/clear-target-dir-if-larger-than 100 run: script/clear-target-dir-if-larger-than 100

View File

@ -21,7 +21,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
fetch-depth: 0 fetch-depth: 0
- name: Run style checks - name: Run style checks
@ -41,7 +40,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
fetch-depth: 0 fetch-depth: 0
- name: Install cargo nextest - name: Install cargo nextest
@ -76,7 +74,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: Build docker image - name: Build docker image
run: docker build . --build-arg GITHUB_SHA=$GITHUB_SHA --tag registry.digitalocean.com/zed/collab:$GITHUB_SHA run: docker build . --build-arg GITHUB_SHA=$GITHUB_SHA --tag registry.digitalocean.com/zed/collab:$GITHUB_SHA

View File

@ -19,7 +19,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: Cache dependencies - name: Cache dependencies
uses: swatinem/rust-cache@v2 uses: swatinem/rust-cache@v2

View File

@ -31,7 +31,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: Run randomized tests - name: Run randomized tests
run: script/randomized-test-ci run: script/randomized-test-ci

View File

@ -25,7 +25,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
fetch-depth: 0 fetch-depth: 0
- name: Run style checks - name: Run style checks
@ -45,7 +44,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: Run tests - name: Run tests
uses: ./.github/actions/run_tests uses: ./.github/actions/run_tests
@ -75,7 +73,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: Set release channel to nightly - name: Set release channel to nightly
run: | run: |
@ -109,7 +106,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
clean: false clean: false
submodules: "recursive"
- name: Add Rust to the PATH - name: Add Rust to the PATH
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH

View File

@ -2,11 +2,7 @@
## Repository ## Repository
After cloning the repository, ensure all git submodules are initialized: Clone down the [Zed repository](https://github.com/zed-industries/zed).
```shell
git submodule update --init --recursive
```
## Dependencies ## Dependencies

View File

@ -2,11 +2,7 @@
## Repository ## Repository
After cloning the repository, ensure all git submodules are initialized: Clone down the [Zed repository](https://github.com/zed-industries/zed).
```shell
git submodule update --init --recursive
```
## Dependencies ## Dependencies

View File

@ -5,11 +5,7 @@
## Repository ## Repository
After cloning the repository, ensure all git submodules are initialized: Clone down the [Zed repository](https://github.com/zed-industries/zed).
```shell
git submodule update --init --recursive
```
## Dependencies ## Dependencies

View File

@ -2,9 +2,6 @@
set -ex set -ex
# Install our submodule dependencies
git submodule update --init --recursive
# install the wasm toolchain # install the wasm toolchain
which rustup > /dev/null 2>&1 || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y which rustup > /dev/null 2>&1 || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y