From 29994c9cc42d3433252e463f5a60fb0e378d449f Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Mon, 19 Dec 2022 08:59:33 +0000 Subject: [PATCH] Update for new riak_core release --- .github/workflows/erlang.yml | 22 +++++++++++++++------- rebar.config | 2 +- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index d90c0a9..94cb367 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -1,23 +1,31 @@ name: Erlang CI - + on: push: branches: [ develop-3.0 ] pull_request: branches: [ develop-3.0 ] + jobs: build: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + otp: + - "22.3.4.24" + container: - image: erlang:22.3.3 + image: erlang:${{ matrix.otp }} steps: - - uses: actions/checkout@v2 - - name: Compile - run: rebar3 compile - - name: Run tests - run: rebar3 do xref, dialyzer, eunit + - uses: lukka/get-cmake@latest + - uses: actions/checkout@v2 + - name: Compile + run: ./rebar3 compile + - name: Run xref, dialyzer and eunit + run: ./rebar3 do xref, dialyzer, eunit diff --git a/rebar.config b/rebar.config index ea5530e..079e1bb 100644 --- a/rebar.config +++ b/rebar.config @@ -9,7 +9,7 @@ {xref_checks,[undefined_function_calls,undefined_functions,locals_not_used]}. {deps, [ - {riak_core, ".*", {git, "git://github.com/basho/riak_core.git", {tag, "riak_kv-3.0.9"}}} + {riak_core, ".*", {git, "git://github.com/basho/riak_core.git", {tag, "riak_kv-3.0.12"}}} ]}. {plugins, [{eqc_rebar, {git, "https://github.com/Quviq/eqc-rebar", {branch, "master"}}}]}.