Skip to content

Commit 2ee3af9

Browse files
committed
chore(deps): update golangci-lint and fixup 1.23 issues
1 parent eb1315b commit 2ee3af9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/golangci-lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ jobs:
3434
with:
3535
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
3636
# version: v1.29
37-
version: v1.55
37+
version: v1.63
3838

3939
# Optional: working directory, useful for monorepos
4040
# working-directory: somedir
4141

4242
# Optional: golangci-lint command line arguments.
4343
# ignore the lib.go file as it only contains cgo annotations
44-
args: --skip-files internal/native/lib.go --timeout 2m
44+
args: --exclude-files internal/native/lib.go --timeout 2m
4545

4646
# Optional: show only new issues if it's a pull request. The default value is `false`.
4747
# only-new-issues: true

installer/installer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ type configuration struct{}
464464
func getConfigPath() string {
465465
user, err := user.Current()
466466
if err != nil {
467-
log.Fatalf(err.Error())
467+
log.Fatalf("%v", err)
468468
}
469469

470470
return path.Join(user.HomeDir, ".pact", "pact-go.yml")

0 commit comments

Comments
 (0)