Test CI v2.1.11
Some checks failed
Go CI Pipeline / Lint Code (push) Failing after 30s
Go CI Pipeline / Security Scan (SCA) (push) Failing after 1m5s
Go CI Pipeline / Run Tests (push) Failing after 19s
Go CI Pipeline / Build Application (push) Has been skipped
Network Connectivity Test (Updated) / Check Runner to Server Connectivity (push) Successful in 11s

This commit is contained in:
phattt2901 2025-05-03 21:29:36 +07:00
parent 6e81bad380
commit db93c6a056

View File

@ -14,7 +14,7 @@ jobs:
# ---- Job: Lint Code ----
lint:
name: Lint Code # Tên hiển thị của job
runs-on: ubuntu-latest # Chỉ định runner có label này (label mặc định phổ biến)
runs-on: linux-amd64 # Chỉ định runner có label này (label mặc định phổ biến)
steps:
- name: Checkout code
uses: actions/checkout@v3 # Action để lấy code về runner
@ -27,7 +27,7 @@ jobs:
# ---- Job: Security Scan (SCA) ----
security-scan:
name: Security Scan (SCA)
runs-on: ubuntu-latest
runs-on: linux-amd64
# needs: [lint] # Bỏ comment nếu muốn chạy sau khi lint xong, nếu không nó sẽ chạy song song với lint và test
steps:
- name: Checkout code
@ -48,7 +48,7 @@ jobs:
# ---- Job: Run Tests ----
test:
name: Run Tests
runs-on: ubuntu-latest
runs-on: linux-amd64
# needs: [lint] # Bỏ comment nếu muốn chạy sau khi lint xong
steps:
- name: Checkout code
@ -68,7 +68,7 @@ jobs:
# ---- Job: Build ----
build:
name: Build Application
runs-on: ubuntu-latest
runs-on: linux-amd64
# Quan trọng: Job này chỉ chạy sau khi các job kiểm tra thành công
needs: [lint, security-scan, test]
steps: