Skip to content

Commit

Permalink
chore: compile without nosql's support for Postgres and MySQL (#210)
Browse files Browse the repository at this point in the history
* chore: compile without nosql's support for Postgres and MySQL

* Ignore lint

---------

Co-authored-by: Francis Lavoie <[email protected]>
  • Loading branch information
dunglas and francislavoie authored Nov 5, 2024
1 parent 2977c7f commit c9fe5af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,8 @@ issues:
- text: "G306" # G306: Expect WriteFile permissions to be 0600 or less (gosec)
linters:
- gosec
# integer overflow conversion is not relevant for version numbers
- text: "G115"
linters:
- gosec

2 changes: 1 addition & 1 deletion builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (b Builder) Build(ctx context.Context, outputFile string) error {
cmd.Args = append(cmd.Args,
"-ldflags", "-w -s", // trim debug symbols
"-trimpath",
"-tags", "nobadger",
"-tags", "nobadger", "nomysql", "nopgx",
)
}
}
Expand Down

0 comments on commit c9fe5af

Please sign in to comment.