Skip to content

Commit

Permalink
ci: add sparse checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
limwa committed Jul 16, 2024
1 parent 82480d3 commit 120aebb
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/pulumi-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
sparse-checkout: "services/pulumi"
sparse-checkout-cone-mode: false
- name: Move pulumi directory to root
run: |
mv services/pulumi ${GITHUB_WORKSPACE}/pulumi
rm -rf services/
mv ${GITHUB_WORKSPACE}/tmp/pulumi/* .
run: git read-tree -um `git write-tree --prefix=services/pulumi/`
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
Expand All @@ -41,10 +38,7 @@ jobs:
sparse-checkout: 'services/pulumi'
sparse-checkout-cone-mode: false
- name: Move pulumi directory to root
run: |
mv services/pulumi ${GITHUB_WORKSPACE}/pulumi
rm -rf services/
mv ${GITHUB_WORKSPACE}/tmp/pulumi/* .
run: git read-tree -um `git write-tree --prefix=services/pulumi/`
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 120aebb

Please sign in to comment.