Test CI v2.1.32
Some checks failed
Go CI Pipeline / Lint Code (push) Failing after 1m33s
Go CI Pipeline / Run Tests (push) Successful in 42s
DNS & Network Test / network-test (push) Failing after 10s
Go CI Pipeline / Security Scan (SCA) (push) Failing after 3m9s
Go CI Pipeline / Build Application (push) Has been skipped
Some checks failed
Go CI Pipeline / Lint Code (push) Failing after 1m33s
Go CI Pipeline / Run Tests (push) Successful in 42s
DNS & Network Test / network-test (push) Failing after 10s
Go CI Pipeline / Security Scan (SCA) (push) Failing after 3m9s
Go CI Pipeline / Build Application (push) Has been skipped
This commit is contained in:
parent
e0afc9744d
commit
baee8e62bb
@ -10,18 +10,18 @@ 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)
|
||||
container:
|
||||
image: golangci/golangci-lint:v2.1.5-alpine
|
||||
|
||||
runs-on: ubuntu-latest # Hoặc runner tự host có label tương ứng
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3 # Action để lấy code về runner
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run golangci-lint # Chạy lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.23'
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
# version: v1.59 # Chỉ định phiên bản nếu muốn, hoặc dùng latest
|
||||
# args: --verbose # Thêm tham số nếu cần
|
||||
# ---- Job: Security Scan (SCA) ----
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user