mirror of
https://github.com/Kyren223/eko.git
synced 2025-09-05 21:18:14 +00:00
Made check-ci.sh more user friendly
This commit is contained in:
@@ -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"
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user