Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 792 Bytes

File metadata and controls

27 lines (21 loc) · 792 Bytes

Elixir Format

Runs the formatter check in your Elixir project.

How-to Guides

Get Started

  1. Make sure actions/checkout action is used before this action.

  2. Add this action to your job in your workflow, here is an example:

    #...
    jobs:
      format:
        name: Run Formatter
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v2 # checkout the repository first
          - uses: straw-hat-team/github-actions-workflows/elixir/format@master
            with:
              elixir-version: '1.11' # optional, fallback to use .tool-versions
              otp-version: '22.3' # optional, fallback to use .tool-versions
              version-type: 'loose' # optional, fallback to strict