Skip to content

Add GitHub CI#12

Open
kianmeng wants to merge 1 commit into
arvidkahl:masterfrom
myfloss:add-github-ci
Open

Add GitHub CI#12
kianmeng wants to merge 1 commit into
arvidkahl:masterfrom
myfloss:add-github-ci

Conversation

@kianmeng

Copy link
Copy Markdown
Contributor

List of changes:

  • code format to Elixir 1.17
  • remove unused deps
  • resolve issue with Erlang OTP 27

List of changes:
- code format to Elixir 1.17
- remove unused deps
- resolve issue with Erlang OTP 27
@kianmeng

Copy link
Copy Markdown
Contributor Author

@thbar This PR should resolve #11

Comment thread lib/sizeable.ex

def filesize(0.0, options) do
def filesize(+0.0, options) do
spacer = Keyword.get(options, :spacer, " ")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: pattern matching on 0.0 is equivalent to matching only on +0.0 from Erlang/OTP 27+. Instead you must match on +0.0 or -0.0
└─ lib/sizeable.ex: Sizeable.filesize/2

Comment thread mix.exs
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:inch_ex, only: :docs}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're not using Inch, remove this.

Comment thread .github/workflows/ci.yml
matrix:
include:
- pair:
elixir: 1.11.x

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still retain the support of Elixir 1.11.x, not sure if we want to bump to 1.13, which is the minimal version that still have security support.,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant