Skip to content

Commit

Permalink
fix: fix a lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-hm19 committed Mar 18, 2024
1 parent 81f33be commit ccb7387
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.52.2
version: v1.56.2
Publish: # Pack and publish image to Docker Hub and GitHub Release
runs-on: ubuntu-latest
needs: [Test, Lint]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.52.2
version: v1.56.2
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN_IN_DOCKER+=-w /root/kusion ${KCLVM_BUILDER}
GOFORMATER ?= gofumpt
GOFORMATER_VERSION ?= v0.2.0
GOLINTER ?= golangci-lint
GOLINTER_VERSION ?= v1.52.2
GOLINTER_VERSION ?= v1.56.2
COVER_FILE ?= coverage.out
SOURCE_PATHS ?= ./pkg/...

Expand Down
1 change: 0 additions & 1 deletion pkg/scaffold/demo_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ func GenDemoProject(dir, name string) error {

return nil
})

if err != nil {
return err
}
Expand Down

0 comments on commit ccb7387

Please sign in to comment.