-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
format model; add dependency lock; add gha for branch and pr builds
Signed-off-by: Rumen Vasilev <[email protected]>
- Loading branch information
1 parent
b07f3a0
commit e820ad3
Showing
7 changed files
with
61 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Lint & Build the model | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: necko-actions/setup-smithy@0e280f9054dbc6f23406e98235c5e18f1d2e4dd7 # v1 | ||
with: | ||
version: "1.40.0" | ||
- run: smithy validate model/ | ||
- run: smithy format model/ | ||
- run: git diff --exit-code | ||
- run: smithy diff --mode git --old origin/main --logging INFO | ||
- run: smithy build model/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
$version: "2" | ||
|
||
namespace tf.registry | ||
|
||
use aws.protocols#restJson1 | ||
use tf.registry.provider#Provider | ||
use tf.registry.module#Module | ||
use tf.registry.provider#Provider | ||
use tf.registry.wellknown#WellKnown | ||
|
||
@restJson1 | ||
service Registry { | ||
version: "2006-03-01" | ||
resources: [Provider, Module, WellKnown] | ||
resources: [ | ||
Provider | ||
Module | ||
WellKnown | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"AUTOGENERATED_DO_NOT_MODIFY":"","version":"1.0","configHash":1371569394,"repositories":["https://repo.maven.apache.org/maven2"],"artifacts":{"software.amazon.smithy:smithy-aws-traits:1.40.0":{"sha1":"6a155cb09123fef5314fec83caf7b7be95b8d2dd"},"software.amazon.smithy:smithy-openapi:1.40.0":{"sha1":"10acbdf58080f0290482a12c7cdde584753e46f2"},"software.amazon.smithy:smithy-jsonschema:1.40.0":{"sha1":"95ffed0bc2a9ce921b9eeeb4bda85bec183acd54"},"software.amazon.smithy:smithy-openapi-traits:1.40.0":{"sha1":"8a5f7f8295ed0e2fbdfb0f02baa8e668e495b32c"}}} |