Skip to content

Commit d0e7822

Browse files
Setup SDK generation (#6)
* Setup generation flow * Add generate shell script * Generate SDK * Transfer tests * ci: Format code * Install deps during generate workflow * ci: Generate code * Update generator to fix package version retrieval * Disable some lint rules * Update generator to fix lint * Update generator to add missing wait_for_action_attempt to abstract methods * Test wait_for_action_attempt options * ci: Generate code * Update generator to allow setting wait_for_action_attempt on client level + refactored polling logic * Update generator to fix lint * Update generate workflow * Remove --rcfile from lint command * Modify generate and format scripts * Pin generator and seam types versions * ci: Generate code * Fix devices test, extend init seam test * Fix init seam test * Terminate generate script immediately if any command exits with a non-zero status * Rename .pylintrc to pylintrc * Update generate script * Update generator to remove /health endpoints and fix wait_for_action_attempt type * ci: Generate code --------- Co-authored-by: Seam Bot <devops@getseam.com>
1 parent 74e535b commit d0e7822

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+6776
-45
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
---
21
version: 2
32
updates:
4-
- package-ecosystem: npm
3+
- package-ecosystem: 'npm'
54
directory: '/'
65
schedule:
7-
interval: daily
8-
commit-message:
9-
prefix: feat
10-
include: scope
6+
interval: 'daily'
7+
target-branch: 'main'
8+
versioning-strategy: 'auto'
119
allow:
12-
- dependency-type: production
10+
- dependency-name: '@seamapi/*'
11+
dependency-type: 'development'
1312
ignore:
14-
- dependency-name: '*'
15-
update-types:
16-
- 'version-update:semver-major'
13+
- dependency-name: '@seamapi/*'
14+
update-types: ['version-update:semver-major']
1715
groups:
1816
seam:
19-
dependency-type: production
17+
dependency-type: development
2018
update-types:
2119
- patch
2220
- minor

.github/workflows/generate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
run: npm install
4242
- name: Generate code
4343
run: npm run generate
44+
- name: Install dependencies
45+
run: poetry install --sync
46+
- name: Format
47+
run: make format
4448
- name: Commit
4549
uses: stefanzweifel/git-auto-commit-action@v5
4650
with:

0 commit comments

Comments
 (0)