chore: update ci.yml
All checks were successful
CI Pipeline / Security Scan (push) Successful in 6m0s
CI Pipeline / Test (push) Successful in 4m51s
CI Pipeline / Lint (push) Successful in 8m7s
CI Pipeline / Build (push) Successful in 1m49s
CI Pipeline / Notification (push) Successful in 2s
CI Pipeline / Lint (pull_request) Successful in 3m51s
CI Pipeline / Security Scan (pull_request) Successful in 7m17s
CI Pipeline / Build (pull_request) Successful in 1m50s
CI Pipeline / Notification (pull_request) Successful in 1s
CI Pipeline / Test (pull_request) Successful in 3m49s

This commit is contained in:
ulflow_phattt2901 2025-06-06 19:46:04 +07:00
parent f8957e0d95
commit c272b9844f

View File

@ -18,12 +18,18 @@ jobs:
with:
go-version: '1.24.3'
cache-dependency-path: go.sum
- name: Cache golangci-lint
uses: actions/cache@v4
with:
path: ~/.cache/golangci-lint
key: ${{ runner.os }}-golangci-lint-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golangci-lint-
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=5m
args: --timeout=15m
- name: Notify on failure
if: failure()