mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-25 15:25:01 +03:00
ci: run the Postgres suites that never ran and lint the shell (#6917)
Eight Postgres-only tests skipped everywhere because no workflow named them. The durable-first job now runs the service and outbound ones, and a scratch-database job runs the migration tests that drop their own tables. Every Postgres step counts top-level passes, so a renamed test cannot leave a step green. A shell-lint job runs actionlint on the workflows and shellcheck on the shipped scripts (the legacy installers at error severity), golangci-lint is pinned, and both the codegen job and make verify fail when docs/public/openapi.json drifts from the panel's spec; docs-ci also fails on a stale API reference. npm audit moves to its own script outside make verify, since it depends on the network.
This commit is contained in:
@@ -99,7 +99,7 @@ iplimit_log_path="${log_folder}/3xipl.log"
|
||||
iplimit_banned_log_path="${log_folder}/3xipl-banned.log"
|
||||
|
||||
confirm() {
|
||||
if [[ $# > 1 ]]; then
|
||||
if [[ $# -gt 1 ]]; then
|
||||
echo && read -rp "$1 [Default $2]: " temp
|
||||
if [[ "${temp}" == "" ]]; then
|
||||
temp=$2
|
||||
@@ -3639,7 +3639,7 @@ show_menu() {
|
||||
esac
|
||||
}
|
||||
|
||||
if [[ $# > 0 ]]; then
|
||||
if [[ $# -gt 0 ]]; then
|
||||
case $1 in
|
||||
"start")
|
||||
check_install 0 && start 0
|
||||
|
||||
Reference in New Issue
Block a user