Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

jclem/action-mix

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚨 [Archived] This action worked for an early iteration of the GitHub Actions beta. Now, check out actions/setup-elixir! 🚨


GitHub Action for Mix

This Action for Mix enables arbitrary actions with this mix command-line client.

The default MIX_ENV is "dev", so override it as needed.

Usage

An example workflow to run mix test and mix format --check-formatted is as follows:

workflow "Tests & Formatting" {
    on = "push"
    resolves = ["Run Tests", "Check Formatting"]
}

# Convenience workflow for `mix deps.get`
action "Get Deps" {
    uses = "jclem/action-mix/[email protected]"
}

# Convenience workflow for `mix test`
action "Run Tests" {
    uses = "jclem/action-mix/[email protected]"
    needs = "Get Deps"
}

action "Check Formatting" {
    uses = "jclem/[email protected]"
    needs = "Get Deps"
    args = "format --check-formatted"
}