Skip to content

Commit dce62e8

Browse files
committed
more subprocess
1 parent 74054d6 commit dce62e8

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.evergreen/config.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -830,26 +830,24 @@ tasks:
830830
- name: check-rustfmt
831831
tags: [lint]
832832
commands:
833-
- command: shell.exec
833+
- command: subprocess.exec
834834
type: test
835835
params:
836836
working_dir: src
837-
shell: bash
838-
script: |
839-
${PREPARE_SHELL}
840-
.evergreen/check-rustfmt.sh
837+
include_expansions_in_env: [PROJECT_DIRECTORY]
838+
binary: bash
839+
args: [.evergreen/check-rustfmt.sh]
841840

842841
- name: check-clippy
843842
tags: [lint]
844843
commands:
845-
- command: shell.exec
844+
- command: subprocess.exec
846845
type: test
847846
params:
848847
working_dir: src
849-
shell: bash
850-
script: |
851-
${PREPARE_SHELL}
852-
.evergreen/check-clippy.sh
848+
include_expansions_in_env: [PROJECT_DIRECTORY]
849+
binary: bash
850+
script: [.evergreen/check-clippy.sh]
853851

854852
- name: check-semgrep
855853
tags: [lint]
@@ -869,14 +867,16 @@ tasks:
869867
- name: check-rustdoc
870868
tags: [lint]
871869
commands:
872-
- command: shell.exec
870+
- command: subprocess.exec
873871
type: test
874872
params:
875873
working_dir: src
876-
shell: bash
877-
script: |
878-
${PREPARE_SHELL}
879-
.evergreen/check-rustdoc.sh
874+
include_expansions_in_env:
875+
- PROJECT_DIRECTORY
876+
- MONGOCRYPT_LIB_DIR
877+
- LD_LIBRARY_PATH
878+
binary: bash
879+
args: [.evergreen/check-rustdoc.sh]
880880

881881
- name: test-rustdoc
882882
tags: [lint]

0 commit comments

Comments
 (0)