Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support OTP 26.x and Elixir 1.15.x in GitHub CI #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kianmeng
Copy link
Contributor

List of changes:

  • bump apps version in GitHub CI
  • add additional jobs for more checking
  • use default job name
  • cache deps
  • remove unused dep

List of changes:
- bump apps version in GitHub CI
- add additional jobs for more checking
- use default job name
- cache deps
- remove unused dep

jobs:
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

@@ -1,5 +1,4 @@
%{
"earmark": {:hex, :earmark, "1.3.1", "73812f447f7a42358d3ba79283cfa3075a7580a3a2ed457616d6517ac3738cb9", [:mix], [], "hexpm"},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Run mix deps.unlock --check-unused
** (Mix) Unused dependencies in mix.lock file:

  * :earmark

Error: Process completed with exit code 1.

@@ -8,7 +8,7 @@ defmodule Decorator.Mixfile do
[
app: :decorator,
version: @version,
elixir: "~> 1.5",
elixir: "~> 1.11",
elixirc_options: elixirrc_options(Mix.env()),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Minimum supported stable release with security patches is 1.11, see https://hexdocs.pm/elixir/1.15.7/compatibility-and-deprecations.html

uses: actions/checkout@v4

- name: Set up Elixir
uses: erlef/setup-beam@v1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Remove extra redirection. See erlef/setup-beam#20.

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