Skip to content

Commit

Permalink
update GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoch-cars committed Jul 15, 2022
1 parent f82f798 commit 7ea023b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: Elixir CI

on: push

jobs:
Expand All @@ -11,11 +9,11 @@ jobs:
image: elixir:1.13.1-alpine

steps:
- uses: actions/checkout@v1
- name: Install Dependencies
apk add --no-cache build-base
MIX_ENV=test mix local.rebar --force
MIX_ENV=test mix local.hex --force
MIX_ENV=test mix deps.get
- name: Run Tests
run: MIX_ENV=test mix tst
- uses: actions/checkout@v1
- name: Install Dependencies
apk add --no-cache build-base
MIX_ENV=test mix local.rebar --force
MIX_ENV=test mix local.hex --force
MIX_ENV=test mix deps.get
- name: Run Tests
run: MIX_ENV=test mix tst
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ Use at your peril, _for now._
mix ex_factor --module TestModule.Here --function my_func --arity 1 --target NewModule.Test
```

## Roadmap TODONE
- [X] Write a mix task to invoke the Refactorer
- [X] dry-run option
- [X] CLI output, list files changed and created.
- [X] format changes

## Roadmap TODO

- [] Update .exs files too?
- [] Write tests to ensure we can find modules within and across umbrella apps.
- [] Write tests to ensure we can find modules across umbrella apps.
- [] Add configuration hooks?
- [] find dead functions
- [] find module attrs and also move them?
Expand All @@ -29,12 +35,6 @@ Use at your peril, _for now._
- [] Write the module code to rename usages of the refactored function
- [] guthub actions, run test suite

## Roadmap TODONE
- [X] Write a mix task to invoke the Refactorer
- [X] dry-run option
- [X] CLI output, list files changed and created.
- [X] format changes

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
Expand All @@ -52,4 +52,5 @@ Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_do
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/ex_factor](https://hexdocs.pm/ex_factor).

REFACTORY, just in case.
Alternate name:
REFACTORY, just in case.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule ExFactor.MixProject do
[
app: :ex_factor,
name: "ExFactor",
version: "0.2.0",
version: "0.2.1",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit 7ea023b

Please sign in to comment.