Test CI v2.1.24
Some checks failed
Go CI Pipeline / Lint Code (push) Failing after 5s
Go CI Pipeline / Run Tests (push) Failing after 11s
Go CI Pipeline / Security Scan (SCA) (push) Failing after 17s
Go CI Pipeline / Build Application (push) Has been skipped
DNS & Network Test / network-test (push) Successful in 38s

This commit is contained in:
phattt2901 2025-05-04 11:21:50 +07:00
parent 6afdc025ce
commit 253c062ce4

View File

@ -10,7 +10,10 @@ jobs:
# ---- Job: Lint Code ----
lint:
name: Lint Code # Tên hiển thị của job
runs-on: linux-amd64 # Chỉ định runner có label này (label mặc định phổ biến)
runs-on: ubuntu-latest # Chỉ định runner có label này (label mặc định phổ biến)
container:
image: ubuntu:20.04
options: --network gitea_gitea_network
steps:
- name: Checkout code
uses: actions/checkout@v3 # Action để lấy code về runner
@ -23,7 +26,10 @@ jobs:
# ---- Job: Security Scan (SCA) ----
security-scan:
name: Security Scan (SCA)
runs-on: linux-amd64
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
options: --network gitea_gitea_network
# 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
@ -44,7 +50,7 @@ jobs:
# ---- Job: Run Tests ----
test:
name: Run Tests
runs-on: linux-amd64
runs-on: ubuntu-latest
# needs: [lint] # Bỏ comment nếu muốn chạy sau khi lint xong
steps:
- name: Checkout code