Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 714 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 714 Bytes

Github Action - Setup Elixir

Configures Elixir, fetches dependencies, and manages build caching.

Usage

Add the following step and matrix to your Action.

jobs:
  setup:
    strategy:
      matrix:
        elixir: ['1.13']
        otp: ['24.3.4']

    steps:
      - name: Setup Elixir Project
        uses: utrustdev/action-setup-elixir@v2
        with:
          elixir-version: ${{ matrix.elixir }}
          otp-version: ${{ matrix.otp }}
          build-flags: --all-warnings --warnings-as-errors
          hex-org-key: ${{ secrets.HEX_ORG_KEY }}

This action does not:

  • Check out the code
  • Setup any additional services like Databases or Localstack.

Those need to be setup in each flow.