Skip to content

Commit d0d2a3c

Browse files
committed
fix(ci): delete examples before linting
In this workflow we only want to check generated code and don't want to fail the build when waiters or examples do not match the generated code. Examples often use waiters, so the `make sync-tidy` step in sdk-go would fail when there are no waiters. Thus we also remove the examples before linting.
1 parent e549b05 commit d0d2a3c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ jobs:
8181
- name: Remove waiters
8282
working-directory: ./sdk-repo-updated
8383
run: find ./services -type d -name "wait" -exec rm -r {} +
84+
85+
- name: Remove examples
86+
working-directory: ./sdk-repo-updated
87+
run: rm -r ./examples
8488

8589
- name: Install SDK project tools and dependencies
8690
working-directory: ./sdk-repo-updated

0 commit comments

Comments
 (0)