From de4a23ee7b358776671b6286b381da6fda8d2c9a Mon Sep 17 00:00:00 2001 From: appleboy Date: Sat, 16 Nov 2024 16:16:32 +0800 Subject: [PATCH] ci(lint): improve CI configuration and readability - Remove `fetch-depth: 0` from the checkout action - Add blank lines for better readability in job steps Signed-off-by: appleboy --- .github/workflows/testing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 1fc9953..3794564 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -10,19 +10,19 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Setup go uses: actions/setup-go@v5 with: go-version-file: go.mod check-latest: true + - name: Setup golangci-lint uses: golangci/golangci-lint-action@v6 with: version: latest args: --verbose + - uses: hadolint/hadolint-action@v3.1.0 name: hadolint for Dockerfile with: