From fe461e1a1302a46b5263b015d8f143fdb1ee40ce Mon Sep 17 00:00:00 2001 From: zhongwencool Date: Thu, 8 Aug 2024 12:33:51 +0800 Subject: [PATCH 1/2] chore: bump up to 1.7.5 --- README.md | 4 +++- mix.exs | 2 +- rebar.lock | 6 +++--- src/observer_cli.app.src | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b464229..1d511d4 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Visualize Erlang/Elixir Nodes On The Command Line base on [recon](https://github %% rebar.config {deps, [observer_cli]} %% erlang.mk -dep_observer_cli = hex 1.7.4 +dep_observer_cli = hex 1.7.5 ``` **Elixir** @@ -259,6 +259,8 @@ Support F/B to page up/down. - 1.7.5 - Fix crash when mnesia table with external copies. Which `mnesia:table_info(TabName, storage_type)` returns tuple `{ext, _, _}` + - Correct the order of the application information; the items Memory and Reductions have been switched. + - 1.7.4 - fix crash when ets:info/1 return undefined. - 1.7.3 diff --git a/mix.exs b/mix.exs index 0886ee9..6a69f9c 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule ObserverCli.MixProject do def project do [ app: :observer_cli, - version: "1.7.4", + version: "1.7.5", language: :erlang, description: "observer in shell", deps: [ diff --git a/rebar.lock b/rebar.lock index e52d466..e58cb62 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,8 +1,8 @@ {"1.2.0", -[{<<"recon">>,{pkg,<<"recon">>,<<"2.5.1">>},0}]}. +[{<<"recon">>,{pkg,<<"recon">>,<<"2.5.5">>},0}]}. [ {pkg_hash,[ - {<<"recon">>, <<"430FFA60685AC1EFDFB1FE4C97B8767C92D0D92E6E7C3E8621559BA77598678A">>}]}, + {<<"recon">>, <<"C108A4C406FA301A529151A3BB53158CADC4064EC0C5F99B03DDB8C0E4281BDF">>}]}, {pkg_hash_ext,[ - {<<"recon">>, <<"5721C6B6D50122D8F68CCCAC712CAA1231F97894BAB779EFF5FF0F886CB44648">>}]} + {<<"recon">>, <<"632A6F447DF7CCC1A4A10BDCFCE71514412B16660FE59DECA0FCF0AA3C054404">>}]} ]. diff --git a/src/observer_cli.app.src b/src/observer_cli.app.src index bdc997a..406c247 100644 --- a/src/observer_cli.app.src +++ b/src/observer_cli.app.src @@ -1,7 +1,7 @@ {application, observer_cli, [ {description, "Visualize Erlang Nodes On The Command Line"}, - {vsn, "1.7.4"}, + {vsn, "1.7.5"}, {modules, [ observer_cli ]}, From 26a5de62c4b7e13953719489d93fcba6c9ee7fb4 Mon Sep 17 00:00:00 2001 From: zhongwencool Date: Thu, 8 Aug 2024 13:00:03 +0800 Subject: [PATCH 2/2] chore: update erlang otp for CI --- .github/workflows/erlang.yml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 588b4d6..96350db 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -1,21 +1,23 @@ name: Erlang CI -on: - push: - branches: [master] - pull_request: - branches: [master] +on: push jobs: - build: - runs-on: ubuntu-latest - - container: - image: erlang:22.0.7 - + test: + runs-on: ubuntu-20.04 + name: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}} + strategy: + matrix: + otp: ['26', '25', '24'] + rebar3: ['3.22'] steps: - - uses: actions/checkout@v2 - - name: Compile + - uses: actions/checkout@v4 + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{matrix.otp}} + rebar3-version: ${{matrix.rebar3}} + - name: compile run: rebar3 compile - - name: Run xref + - name: xref run: rebar3 xref +