1 Commits

Author SHA1 Message Date
5b05723e93 ci: refactor workflows for SonarQube, tag-only Docker builds, and global testing
SonarQube Scan / SonarQube Trigger (push) Successful in 4m41s
Docker Build and Push / Run Tests (push) Successful in 1m59s
Docker Build and Push / Build and Push Docker Image (push) Successful in 8m22s
- Run SonarQube scans only on main, staging, and feat/* branches
- Build and push Docker images only on semantic version tags
- Add test job that runs on all events
2026-01-28 01:06:29 +07:00
2 changed files with 3 additions and 8 deletions
+2 -7
View File
@@ -12,7 +12,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v6
@@ -27,13 +27,8 @@ jobs:
run: go vet ./...
- name: Run tests
run: go test -v -p 4 -coverprofile=coverage.out ./...
run: go test -v -p 4 ./...
- name: Run GolangCI-Lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.6
args: --timeout=5m
build-and-push:
name: Build and Push Docker Image
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v6