Skip to content

Commit de4a23e

Browse files
committed
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 <[email protected]>
1 parent fadf83f commit de4a23e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ jobs:
1010
steps:
1111
- name: Checkout repository
1212
uses: actions/checkout@v4
13-
with:
14-
fetch-depth: 0
1513

1614
- name: Setup go
1715
uses: actions/setup-go@v5
1816
with:
1917
go-version-file: go.mod
2018
check-latest: true
19+
2120
- name: Setup golangci-lint
2221
uses: golangci/golangci-lint-action@v6
2322
with:
2423
version: latest
2524
args: --verbose
25+
2626
- uses: hadolint/[email protected]
2727
name: hadolint for Dockerfile
2828
with:

0 commit comments

Comments
 (0)