【发布时间】:2023-07-13 08:30:02
【问题描述】:
基本上我需要工作流来检查整个代码,如果它有任何语法错误应该会失败。 回购:https://github.com/CyberJalagam/android_rom_building_scripts
【问题讨论】:
标签: shell syntax-highlighting github-actions
基本上我需要工作流来检查整个代码,如果它有任何语法错误应该会失败。 回购:https://github.com/CyberJalagam/android_rom_building_scripts
【问题讨论】:
标签: shell syntax-highlighting github-actions
向在推送或 PR 到 main 时运行的工作流添加一个步骤以验证语法:
- name: Validate syntax
run: bash -n *.sh
【讨论】: