Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.57 KB

elixir-quality-assurance.md

File metadata and controls

50 lines (38 loc) · 1.57 KB

Elixir Quality Assurance

Enables Quality Assurance tools

Explanations

This workflow is a suit of development tool setup for Elixir projects that leverage other actions such as:

You can disable these actions by changing the setting the workflow. Please check the workflow input documentation.

How-to Guides

Get Started

  1. Create a new GitHub Workflow (ex: .github/workflows/ci.yml) if you don't have one already.
  2. Add the following this workflow to your workflow, here is a final example:
name: Elixir Quality Assurance

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  quality-assurance:
    uses: straw-hat-team/github-actions-workflows/.github/workflows/elixir-quality-assurance.yml@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
      testing-enabled: true # or false to disable it
      formatter-enabled: true
      credo-enabled: true
      dialyzer-enabled: true
      compilation-warning-enabled: true