| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fa927c3 commit 3a7ed25
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -163,6 +163,16 @@ jobs: | |||
| 163 | 163 | - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 164 | 164 | with: | |
| 165 | 165 | persist-credentials: false | |
| 166 | + sparse-checkout: | | ||
| 167 | + /Makefile | ||
| 168 | + /benchmark/ | ||
| 169 | + /doc/ | ||
| 170 | + /lib/ | ||
| 171 | + /src/node_version.h | ||
| 172 | + /tools/ | ||
| 173 | + pyproject.toml | ||
| 174 | + *.py | ||
| 175 | + sparse-checkout-cone-mode: false | ||
| 166 | 176 | - name: Set up Python ${{ env.PYTHON_VERSION }} | |
| 167 | 177 | uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 | |
| 168 | 178 | with: | |
@@ -181,6 +191,12 @@ jobs: | |||
| 181 | 191 | - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 182 | 192 | with: | |
| 183 | 193 | persist-credentials: false | |
| 194 | + sparse-checkout: | | ||
| 195 | + /Makefile | ||
| 196 | + /tools/pip/ | ||
| 197 | + *.yml | ||
| 198 | + *.yaml | ||
| 199 | + sparse-checkout-cone-mode: false | ||
| 184 | 200 | - name: Use Python ${{ env.PYTHON_VERSION }} | |
| 185 | 201 | uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 | |
| 186 | 202 | with: | |
@@ -200,6 +216,10 @@ jobs: | |||
| 200 | 216 | - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 201 | 217 | with: | |
| 202 | 218 | persist-credentials: false | |
| 219 | + sparse-checkout: | | ||
| 220 | + /tools/lint-sh.mjs | ||
| 221 | + *.sh | ||
| 222 | + sparse-checkout-cone-mode: false | ||
| 203 | 223 | - run: shellcheck -V | |
| 204 | 224 | - name: Lint Shell scripts | |
| 205 | 225 | run: tools/lint-sh.mjs . | |
@@ -221,6 +241,10 @@ jobs: | |||
| 221 | 241 | with: | |
| 222 | 242 | fetch-depth: 2 | |
| 223 | 243 | persist-credentials: false | |
| 244 | + sparse-checkout: | | ||
| 245 | + /tools/lint-pr-url.mjs | ||
| 246 | + /doc/api/ | ||
| 247 | + sparse-checkout-cone-mode: false | ||
| 224 | 248 | # GH Actions squashes all PR commits, HEAD^ refers to the base branch. | |
| 225 | 249 | - run: git diff HEAD^ HEAD -G"pr-url:" -- "*.md" | ./tools/lint-pr-url.mjs ${{ github.event.pull_request.html_url }} | |
| 226 | 250 | lint-readme: | |
@@ -229,6 +253,10 @@ jobs: | |||
| 229 | 253 | - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 230 | 254 | with: | |
| 231 | 255 | persist-credentials: false | |
| 256 | + sparse-checkout: | | ||
| 257 | + README.md | ||
| 258 | + /tools/lint-readme-lists.mjs | ||
| 259 | + sparse-checkout-cone-mode: false | ||
| 232 | 260 | - name: Get team members if possible | |
| 233 | 261 | if: ${{ (github.event.pull_request && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch) || github.event.ref == github.event.repository.default_branch }} | |
| 234 | 262 | id: team_members | |
| Back | FazBrowse Home | New Git URL |
0 commit comments