Skip to content

Commit

Permalink
Update otp & rebar in github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ostinelli committed Aug 23, 2024
1 parent 4f63eca commit cf2b318
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ jobs:
name: Tests on OTP ${{matrix.otp}} with rebar v${{matrix.rebar3}}
strategy:
matrix:
otp: ['24.1.2', '23.3.4.7', '22.3.4.22']
rebar3: ['3.17.0']
include:
- otp: '21.3.8.24'
rebar3: '3.15.1'
otp: ['26', '25']
rebar3: ['3.23.0']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
Expand Down
2 changes: 1 addition & 1 deletion src/syn_backbone.erl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ code_change(_OldVsn, State, _Extra) ->
%% ===================================================================
%% Internal
%% ===================================================================
-spec ensure_table_existence(Type :: ets:type(), TableId :: atom(), Scope :: atom()) -> any().
-spec ensure_table_existence(Type :: ets:table_type(), TableId :: atom(), Scope :: atom()) -> any().
ensure_table_existence(Type, TableId, Scope) ->
%% build name
TableIdBin = list_to_binary(atom_to_list(TableId)),
Expand Down
4 changes: 2 additions & 2 deletions src/syn_pg.erl
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ multi_call_and_receive(CollectorPid, Pid, Meta, Message, Timeout) ->
CollectorPid ! {syn_bad_reply, Pid}
end.

-spec collect_replies(MembersOD :: orddict:orddict({pid(), Meta :: term()})) ->
-spec collect_replies(MembersOD :: orddict:orddict(pid(), Meta :: term())) ->
{
Replies :: [{{pid(), Meta :: term()}, Reply :: term()}],
BadReplies :: [{pid(), Meta :: term()}]
Expand All @@ -756,7 +756,7 @@ collect_replies(MembersOD) ->
collect_replies(MembersOD, [], []).

-spec collect_replies(
MembersOD :: orddict:orddict({pid(), Meta :: term()}),
MembersOD :: orddict:orddict(pid(), Meta :: term()),
Replies :: [{{pid(), Meta :: term()}, Reply :: term()}],
BadReplies :: [{pid(), Meta :: term()}]
) ->
Expand Down

0 comments on commit cf2b318

Please sign in to comment.