forked from TrueCloudLab/certificates
Add -s to make fmt and bump golangci-lint to 1.45.2
This commit is contained in:
parent
586e4fd3b5
commit
8ca9442fe9
3 changed files with 3 additions and 3 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
|||
uses: golangci/golangci-lint-action@v2
|
||||
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.45.0'
|
||||
version: 'v1.45.2'
|
||||
|
||||
# Optional: working directory, useful for monorepos
|
||||
# working-directory: somedir
|
||||
|
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
|||
uses: golangci/golangci-lint-action@v2
|
||||
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.45.0'
|
||||
version: 'v1.45.2'
|
||||
|
||||
# Optional: working directory, useful for monorepos
|
||||
# working-directory: somedir
|
||||
|
|
2
Makefile
2
Makefile
|
@ -151,7 +151,7 @@ integration: bin/$(BINNAME)
|
|||
#########################################
|
||||
|
||||
fmt:
|
||||
$Q gofmt -l -w $(SRC)
|
||||
$Q gofmt -l -s -w $(SRC)
|
||||
|
||||
lint:
|
||||
$Q golangci-lint run --timeout=30m
|
||||
|
|
Loading…
Reference in a new issue