From 382c3836afe92f39eacd525dc5f733033d011526 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 10 Jun 2022 17:45:15 +0200 Subject: [PATCH] Runtime: Add Xref options to be as strict as CI --- .github/workflows/runtime.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index 8fd9a7054..37bc7e572 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -69,6 +69,14 @@ jobs: make update 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 - name: Test rel (rebar2)