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 74
74
- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
75
75
with :
76
76
persist-credentials : false
77
+ sparse-checkout : .github/actions/install-clang
78
+ sparse-checkout-cone-mode : false
77
79
- name : Install Clang ${{ env.CLANG_VERSION }}
78
80
uses : ./.github/actions/install-clang
79
81
with :
@@ -97,15 +99,19 @@ jobs:
97
99
run : |
98
100
tar xzf tarballs/*.tar.gz -C $RUNNER_TEMP
99
101
echo "TAR_DIR=$RUNNER_TEMP/`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV
100
- - name : Copy directories needed for testing
101
- run : |
102
- cp -r tools/eslint $TAR_DIR/tools
103
- cp -r tools/eslint-rules $TAR_DIR/tools
104
102
- name : Build
105
103
run : |
106
- cd $TAR_DIR
107
- make build-ci -j4 V=1
104
+ make -C "$TAR_DIR" build-ci -j4 V=1
105
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
106
+ with :
107
+ persist-credentials : false
108
+ sparse-checkout : |
109
+ tools/eslint
110
+ tools/eslint-rules
111
+ - name : Move directories needed for testing
112
+ run : |
113
+ mv tools/eslint "$TAR_DIR/tools"
114
+ mv tools/eslint-rules "$TAR_DIR/tools"
108
115
- name : Test
109
116
run : |
110
- cd $TAR_DIR
111
- make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
117
+ 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