Skip to content

Commit f234481

Browse files
committed
fix gitoxide
1 parent 5fed937 commit f234481

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/actions/build_linux/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ runs:
7070
artifacts="meta,metactl,query,sqllogictests"
7171
for artifact in ${artifacts//,/ }; do
7272
echo "==> building databend-$artifact ..."
73-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --bin databend-$artifact
73+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --bin databend-$artifact
7474
done
75-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --bin open-sharing
75+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --bin open-sharing
7676
ls -lh ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-*
7777
7878
- name: Build Debug for specific artifacts
@@ -82,7 +82,7 @@ runs:
8282
artifacts="${{ inputs.artifacts }}"
8383
for artifact in ${artifacts//,/ }; do
8484
echo "==> building databend-$artifact ..."
85-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --bin databend-$artifact
85+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --bin databend-$artifact
8686
done
8787
ls -lh ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-$artifact
8888
@@ -93,7 +93,7 @@ runs:
9393
artifacts="meta,metactl,query,sqllogictests"
9494
for artifact in ${artifacts//,/ }; do
9595
echo "==> building databend-$artifact ..."
96-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --release --bin databend-$artifact
96+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --release --bin databend-$artifact
9797
done
9898
ls -lh ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-$artifact
9999
@@ -104,7 +104,7 @@ runs:
104104
artifacts="${{ inputs.artifacts }}"
105105
for artifact in ${artifacts//,/ }; do
106106
echo "==> building databend-$artifact ..."
107-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --release --bin databend-$artifact
107+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --release --bin databend-$artifact
108108
done
109109
ls -lh ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-$artifact
110110

.github/actions/build_linux_sanitizer/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
artifacts="meta,metactl,query"
5454
for artifact in ${artifacts//,/ }; do
5555
echo "==> building databend-$artifact with sanitizer ..."
56-
cargo -Zbuild-std -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --manifest-path src/binaries/Cargo.toml --bin databend-$artifact
56+
cargo -Zbuild-std -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --features ${{ inputs.features }} --manifest-path src/binaries/Cargo.toml --bin databend-$artifact
5757
done
5858
ls -lh ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-*
5959

.github/actions/build_macos/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,18 @@ runs:
4444
- name: Build Debug for all artifacts
4545
if: env.BUILD_PROFILE == 'debug' && inputs.artifacts == 'all'
4646
shell: bash
47-
run: cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }}
47+
run: cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }}
4848

4949
- name: Build Debug for specific artifacts
5050
if: env.BUILD_PROFILE == 'debug' && inputs.artifacts != 'all'
5151
shell: bash
5252
run: |
5353
artifacts="${{ inputs.artifacts }}"
5454
echo "==> building libs ..."
55-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --lib
55+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --lib
5656
for artifact in ${artifacts//,/ }; do
5757
echo "==> building databend-$artifact ..."
58-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --bin databend-$artifact
58+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --bin databend-$artifact
5959
done
6060
6161
- name: Build Release
@@ -64,10 +64,10 @@ runs:
6464
run: |
6565
artifacts="${{ inputs.artifacts }}"
6666
echo "==> building libs ..."
67-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --release --lib
67+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --release --lib
6868
for artifact in ${artifacts//,/ }; do
6969
echo "==> building databend-$artifact ..."
70-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps build --target ${{ inputs.target }} --release --bin databend-$artifact
70+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps build --target ${{ inputs.target }} --release --bin databend-$artifact
7171
done
7272
7373
- name: Upload artifact

.github/actions/check/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ runs:
4747

4848
- name: Clippy
4949
shell: bash
50-
run: cargo -Zgitoxide=fetch,shallow-index,shallow-deps clippy --workspace --all-targets --all-features -- -D warnings
50+
run: cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps clippy --workspace --all-targets --all-features -- -D warnings

.github/actions/test_unit/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111

1212
- shell: bash
1313
run: |
14-
cargo -Zgitoxide=fetch,shallow-index,shallow-deps nextest run --no-fail-fast --hide-progress-bar
14+
cargo -Zgitoxide=fetch -Zgit=shallow-index,shallow-deps nextest run --no-fail-fast --hide-progress-bar
1515
env:
1616
RUST_TEST_THREADS: "8"
1717
RUST_LOG: ERROR

0 commit comments

Comments
 (0)