From 430e0431b2dce67dd7d0ce856c64a82bc67c503a Mon Sep 17 00:00:00 2001 From: Rene Nochebuena Date: Wed, 9 Apr 2025 02:43:45 -0600 Subject: [PATCH] Update Go build command in CI workflows Replaced `go build -o ./bin/app main.go` with `go build ./...` across all CI workflow files. This ensures all packages in the module are built, improving compatibility and consistency in the build process. --- .gitea/workflows/ci-basic.yml | 2 +- .gitea/workflows/ci-protected.yml | 2 +- .gitea/workflows/ci-tag.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci-basic.yml b/.gitea/workflows/ci-basic.yml index 3e8fbcf..9ce8bc3 100644 --- a/.gitea/workflows/ci-basic.yml +++ b/.gitea/workflows/ci-basic.yml @@ -45,4 +45,4 @@ jobs: - name: Build binary shell: bash run: | - go build -o ./bin/app main.go \ No newline at end of file + go build ./... \ No newline at end of file diff --git a/.gitea/workflows/ci-protected.yml b/.gitea/workflows/ci-protected.yml index ddb475b..5e2a18c 100644 --- a/.gitea/workflows/ci-protected.yml +++ b/.gitea/workflows/ci-protected.yml @@ -45,4 +45,4 @@ jobs: - name: Build binary shell: bash run: | - go build -o ./bin/app main.go \ No newline at end of file + go build ./... \ No newline at end of file diff --git a/.gitea/workflows/ci-tag.yml b/.gitea/workflows/ci-tag.yml index 6c4ea5f..a7e78dd 100644 --- a/.gitea/workflows/ci-tag.yml +++ b/.gitea/workflows/ci-tag.yml @@ -38,4 +38,4 @@ jobs: - name: Build binary shell: bash run: | - go build -o ./bin/app main.go \ No newline at end of file + go build ./... \ No newline at end of file