Skip to content

Commit

Permalink
ci(lint): improve CI configuration and readability
Browse files Browse the repository at this point in the history
- Remove `fetch-depth: 0` from the checkout action
- Add blank lines for better readability in job steps

Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Nov 16, 2024
1 parent fadf83f commit de4a23e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit de4a23e

Please sign in to comment.