File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change 73
73
- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
74
74
with :
75
75
persist-credentials : false
76
+ sparse-checkout : .github/actions/install-clang
77
+ sparse-checkout-cone-mode : false
76
78
- name : Set up Python ${{ env.PYTHON_VERSION }}
77
79
uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
78
80
with :
@@ -92,15 +94,19 @@ jobs:
92
94
run : |
93
95
tar xzf tarballs/*.tar.gz -C $RUNNER_TEMP
94
96
echo "TAR_DIR=$RUNNER_TEMP/`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV
95
- - name : Copy directories needed for testing
96
- run : |
97
- cp -r tools/eslint $TAR_DIR/tools
98
- cp -r tools/eslint-rules $TAR_DIR/tools
99
97
- name : Build
100
98
run : |
101
- cd $TAR_DIR
102
- make build-ci -j4 V=1
99
+ make -C "$TAR_DIR" build-ci -j4 V=1
100
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
101
+ with :
102
+ persist-credentials : false
103
+ sparse-checkout : |
104
+ tools/eslint
105
+ tools/eslint-rules
106
+ - name : Move directories needed for testing
107
+ run : |
108
+ mv tools/eslint "$TAR_DIR/tools"
109
+ mv tools/eslint-rules "$TAR_DIR/tools"
103
110
- name : Test
104
111
run : |
105
- cd $TAR_DIR
106
- make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
112
+ make -C "$TAR_DIR" run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
You can’t perform that action at this time.
0 commit comments