24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-05-31 21:07:55 +02:00

Runtime: Add Xref options to be as strict as CI

This commit is contained in:
Badlop 2022-06-10 17:45:15 +02:00
parent 6d39af7dd6
commit 382c3836af

View File

@ -69,6 +69,14 @@ jobs:
make update make update
make make
- name: Prepare rebar
run: |
echo '{xref_ignores, [{eldap_filter_yecc, return_error, 2}
]}.' >>rebar.config
echo '{xref_checks, [deprecated_function_calls, deprecated_functions,
locals_not_used, undefined_function_calls, undefined_functions]}.
% Disabled: exports_not_used,' >>rebar.config
- run: make xref - run: make xref
- name: Test rel (rebar2) - name: Test rel (rebar2)