Skip to content

Commit e053bd5

Browse files
committed
ci: build Go modules with go build ./...
Signed-off-by: Anju <anjupathak9810@gmail.com>
1 parent a577b1a commit e053bd5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
# Change to the project directory
3333
cd "$dir" || continue
3434
35-
# Build the project
36-
if go build -o app; then
35+
# Build the project (supports modules with multiple commands under ./cmd/*)
36+
if go build ./...; then
3737
echo "Successfully built $dir"
3838
else
3939
echo "Failed to build $dir" >&2

0 commit comments

Comments
 (0)