Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34f115d

Browse files
authored
chore: fix golangci config (#181)
1 parenteb66b5a commit34f115d

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

‎.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
-run:go build -v .
3737

3838
-name:Run linters
39-
uses:golangci/golangci-lint-action@e60da84bfae8c7920a47be973d75e15710aa8bd7# v6.3.0
39+
uses:golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837# v6.5.0
4040
with:
4141
version:latest
4242

‎.golangci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
# Visit https://golangci-lint.run/ for usage documentation and information on
22
# other useful linters
33
issues:
4-
max-per-linter:0
4+
max-issues-per-linter:0
55
max-same-issues:0
66

77
linters:
88
disable-all:true
99
enable:
1010
-durationcheck
1111
-errcheck
12-
-exportloopref
1312
-forcetypeassert
1413
-godot
1514
-gofmt
1615
-gosimple
16+
-govet
1717
-ineffassign
1818
-makezero
1919
-misspell
2020
-nilerr
2121
-predeclared
2222
-staticcheck
23-
-tenv
2423
-unconvert
2524
-unparam
2625
-unused
27-
-vet
26+
-usetesting

‎Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ build: terraform-provider-coderd
1515
terraform-provider-coderd: internal/provider/*.go main.go
1616
CGO_ENABLED=0 go build.
1717

18+
test: testacc
19+
.PHONY: test
20+
1821
# Run acceptance tests
19-
.PHONY: testacc
2022
testacc:
2123
TF_ACC=1 gotest ./... -v$(TESTARGS) -timeout 120m
24+
.PHONY: testacc

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp