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
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:
parent
6e81bad380
commit
db93c6a056
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user