Format Smithy
ActionsFormat smithy on directory or smithy file and fail if there s any difference
v1
LatestThis action allows users to format Smithy models using the Smithy CLI command: smithy format
See action.yml
Format all file in the current working directory :
steps:
- uses: actions/checkout@v3
- uses: necko-actions/format-smithy@v1
with:
version: "1.33.0"
Change the path in the current working directory, e.g, the directory model
:
steps:
- uses: actions/checkout@v3
- uses: necko-actions/format-smithy@v1
with:
version: "1.33.0"
path: "model"
Format Smithy is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.