Made check-ci.sh more user friendly

This commit is contained in:
2025-07-05 22:35:18 +03:00
parent 94ccbc282b
commit 9199959cf4
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,12 @@
#!/usr/bin/env bash
set -e
trap 'echo "❌ Check failed"; exit 1' ERR
test -z "$(go fmt ./...)"
staticcheck ./...
go test --cover ./...
gosec ./...
echo "✅ All checks passed"

View File

@@ -158,12 +158,6 @@ func (m Model) View() string {
Width(m.nameWidth).
Render(legalNote)
// content := flex.NewVertical(
// name, description, private,
// configFile, analyticsOptOut, legalNote,
// update,
// ).WithGap(1).View()
content := flex.NewVertical(
legalNote, analyticsOptOut,
configFile, name, description, private, update,