Skip to content

Format Smithy

Actions
Format smithy on directory or smithy file and fail if there s any difference
v1
Latest
Star (4)

Format Smithy models

This action allows users to format Smithy models using the Smithy CLI command: smithy format

Basic usage

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.

About

Format smithy on directory or smithy file and fail if there s any difference
v1
Latest

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.