You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ci-cd.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The official GitHub Action provides a simple way to validate generated models in
16
16
### Basic Usage
17
17
18
18
```yaml
19
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
19
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
20
20
with:
21
21
input: schema.yaml
22
22
output: src/models.py
@@ -58,7 +58,7 @@ jobs:
58
58
steps:
59
59
- uses: actions/checkout@v4
60
60
61
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
61
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
62
62
with:
63
63
input: schemas/api.yaml
64
64
output: src/models/api.py
@@ -86,7 +86,7 @@ jobs:
86
86
steps:
87
87
- uses: actions/checkout@v4
88
88
89
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
89
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
90
90
with:
91
91
input: ${{ matrix.input }}
92
92
output: ${{ matrix.output }}
@@ -98,7 +98,7 @@ jobs:
98
98
### Example: Using Profiles
99
99
100
100
```yaml
101
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
101
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
102
102
with:
103
103
input: schemas/api.yaml
104
104
output: src/models.py
@@ -112,7 +112,7 @@ jobs:
112
112
Set `check: 'false'` to actually generate the models:
113
113
114
114
```yaml
115
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
115
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
116
116
with:
117
117
input: schema.yaml
118
118
output: src/models.py
@@ -126,7 +126,7 @@ Set `check: 'false'` to actually generate the models:
126
126
For GraphQL schemas, use the `extras` input to install the required dependency:
127
127
128
128
```yaml
129
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
129
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
130
130
with:
131
131
input: schema.graphql
132
132
output: src/models.py
@@ -138,7 +138,7 @@ For GraphQL schemas, use the `extras` input to install the required dependency:
138
138
### Example: Apache Avro Schema
139
139
140
140
```yaml
141
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
141
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
142
142
with:
143
143
input: schema.avsc
144
144
output: src/models.py
@@ -151,7 +151,7 @@ For GraphQL schemas, use the `extras` input to install the required dependency:
151
151
You can install multiple extras with comma-separated values:
152
152
153
153
```yaml
154
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
154
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
155
155
with:
156
156
input: schema.yaml
157
157
output: src/models.py
@@ -165,7 +165,7 @@ You can install multiple extras with comma-separated values:
165
165
Use `extra-args` for CLI options not covered by the inputs:
166
166
167
167
```yaml
168
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
168
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
169
169
with:
170
170
input: schema.yaml
171
171
output: src/models.py
@@ -175,7 +175,7 @@ Use `extra-args` for CLI options not covered by the inputs:
175
175
```
176
176
177
177
!!! tip "Version Pinning"
178
-
Always pin the action to a specific version tag (e.g., `@0.44.0`) to ensure reproducible builds. The action installs the same version of `datamodel-code-generator` as the tag.
178
+
Always pin the action to a specific version tag (e.g., `@0.66.3`) to ensure reproducible builds. The action installs the same version of `datamodel-code-generator` as the tag.
@@ -36477,7 +36477,7 @@ The official GitHub Action provides a simple way to validate generated models in
36477
36477
### Basic Usage
36478
36478
36479
36479
```yaml
36480
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
36480
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
36481
36481
with:
36482
36482
input: schema.yaml
36483
36483
output: src/models.py
@@ -36519,7 +36519,7 @@ jobs:
36519
36519
steps:
36520
36520
- uses: actions/checkout@v4
36521
36521
36522
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
36522
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
36523
36523
with:
36524
36524
input: schemas/api.yaml
36525
36525
output: src/models/api.py
@@ -36547,7 +36547,7 @@ jobs:
36547
36547
steps:
36548
36548
- uses: actions/checkout@v4
36549
36549
36550
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
36550
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
36551
36551
with:
36552
36552
input: ${{ matrix.input }}
36553
36553
output: ${{ matrix.output }}
@@ -36559,7 +36559,7 @@ jobs:
36559
36559
### Example: Using Profiles
36560
36560
36561
36561
```yaml
36562
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
36562
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
36563
36563
with:
36564
36564
input: schemas/api.yaml
36565
36565
output: src/models.py
@@ -36573,7 +36573,7 @@ jobs:
36573
36573
Set `check: 'false'` to actually generate the models:
36574
36574
36575
36575
```yaml
36576
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
36576
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
36577
36577
with:
36578
36578
input: schema.yaml
36579
36579
output: src/models.py
@@ -36587,7 +36587,7 @@ Set `check: 'false'` to actually generate the models:
36587
36587
For GraphQL schemas, use the `extras` input to install the required dependency:
36588
36588
36589
36589
```yaml
36590
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
36590
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
36591
36591
with:
36592
36592
input: schema.graphql
36593
36593
output: src/models.py
@@ -36599,7 +36599,7 @@ For GraphQL schemas, use the `extras` input to install the required dependency:
36599
36599
### Example: Apache Avro Schema
36600
36600
36601
36601
```yaml
36602
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
36602
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
36603
36603
with:
36604
36604
input: schema.avsc
36605
36605
output: src/models.py
@@ -36612,7 +36612,7 @@ For GraphQL schemas, use the `extras` input to install the required dependency:
36612
36612
You can install multiple extras with comma-separated values:
36613
36613
36614
36614
```yaml
36615
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
36615
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
36616
36616
with:
36617
36617
input: schema.yaml
36618
36618
output: src/models.py
@@ -36626,7 +36626,7 @@ You can install multiple extras with comma-separated values:
36626
36626
Use `extra-args` for CLI options not covered by the inputs:
36627
36627
36628
36628
```yaml
36629
-
- uses: koxudaxi/datamodel-code-generator@0.44.0
36629
+
- uses: koxudaxi/datamodel-code-generator@0.66.3
36630
36630
with:
36631
36631
input: schema.yaml
36632
36632
output: src/models.py
@@ -36636,7 +36636,7 @@ Use `extra-args` for CLI options not covered by the inputs:
36636
36636
```
36637
36637
36638
36638
!!! tip "Version Pinning"
36639
-
Always pin the action to a specific version tag (e.g., `@0.44.0`) to ensure reproducible builds. The action installs the same version of `datamodel-code-generator` as the tag.
36639
+
Always pin the action to a specific version tag (e.g., `@0.66.3`) to ensure reproducible builds. The action installs the same version of `datamodel-code-generator` as the tag.
0 commit comments