test(middleware): add unit tests for middleware behavior
SonarQube Scan / SonarQube Trigger (push) Successful in 1m30s

- remove redundant check on registry.Update and check if slug exist before locking the mutex
- Update SonarQube action to not use Go cache when setting up Go
This commit is contained in:
2026-01-22 12:30:20 +07:00
parent 5a7aa1ecb7
commit a350692e81
4 changed files with 211 additions and 6 deletions
+1
View File
@@ -18,6 +18,7 @@ jobs:
uses: actions/setup-go@v6
with:
go-version: '1.25.5'
cache: false
- name: Install dependencies
run: go mod tidy