fix ci #90
Annotations
6 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run lint:
vars/main.yml#L14
Jinja2 spacing could be improved: {% if node_data_root_path != '' -%} {{ node_data_root_path }} {%- else -%} {{ _node_user_home_path }}/.local/share/polkadot {%- endif %} -> {% if node_data_root_path != '' -%} {{ node_data_root_path }}{%- else -%} {{ _node_user_home_path }}/.local/share/polkadot{%- endif %}
|
Run lint:
vars/main.yml#L15
Jinja2 spacing could be improved: {% if node_memory_profiler_log_path != '' -%} {{ node_memory_profiler_log_path }} {%- else -%} {{ _node_user_home_path }}/logs {%- endif %} -> {% if node_memory_profiler_log_path != '' -%} {{ node_memory_profiler_log_path }}{%- else -%} {{ _node_user_home_path }}/logs{%- endif %}
|
Run lint:
vars/main.yml#L47
Jinja2 spacing could be improved: {%- if _node_restore_relaychain and not _node_restore_parachain -%} {{ [_node_chain_backup_data] }} {%- elif not _node_restore_relaychain and _node_restore_parachain -%} {{ [_node_parachain_chain_backup_data] }} {%- elif _node_restore_relaychain and _node_restore_parachain -%} {{ [_node_chain_backup_data, _node_parachain_chain_backup_data] }} {%- else -%} {{ [] }} {%- endif %} -> {%- if _node_restore_relaychain and not _node_restore_parachain -%} {{ [_node_chain_backup_data] }}{%- elif not _node_restore_relaychain and _node_restore_parachain -%} {{ [_node_parachain_chain_backup_data] }}{%- elif _node_restore_relaychain and _node_restore_parachain -%} {{ [_node_chain_backup_data, _node_parachain_chain_backup_data] }}{%- else -%} {{ [] }}{%- endif %}
|
Run lint:
vars/main.yml#L59
Jinja2 spacing could be improved: {{ (node_chain_backup_restoring_type == 'http' and ( node_chain_backup_http_base_url != '' or node_chain_backup_http_url != '')) or (node_chain_backup_restoring_type == 'tar' and node_chain_backup_url != '') }} -> {{ (node_chain_backup_restoring_type == 'http' and (node_chain_backup_http_base_url != '' or node_chain_backup_http_url != '')) or (node_chain_backup_restoring_type == 'tar' and node_chain_backup_url != '') }}
|
Run lint:
vars/main.yml#L79
Jinja2 spacing could be improved: {{ node_parachain_role != '' and ((node_parachain_chain_backup_restoring_type == 'http' and (node_parachain_chain_backup_http_base_url != '' or node_parachain_chain_backup_http_url != '' )) or (node_parachain_chain_backup_restoring_type == 'tar' and node_parachain_chain_backup_url != '')) }} -> {{ node_parachain_role != '' and ((node_parachain_chain_backup_restoring_type == 'http' and (node_parachain_chain_backup_http_base_url != '' or node_parachain_chain_backup_http_url != '')) or (node_parachain_chain_backup_restoring_type == 'tar' and node_parachain_chain_backup_url != '')) }}
|
Loading