~whynothugo/dotfiles

5484719c0f502b4c0cbef00dc302ba66470c8732 — Hugo Osvaldo Barrera a month ago fb544c1
golint: Use host GOPATH as cache
1 files changed, 3 insertions(+), 1 deletions(-)

M home/.local/bin/golint
M home/.local/bin/golint => home/.local/bin/golint +3 -1
@@ 1,4 1,6 @@
#!/bin/sh

podman run --rm -v "$(pwd):/src" -w /src docker.io/golangci/golangci-lint:v1.46 \
podman run --rm -v "$(pwd):/src" -w /src \
  -v "${GOPATH:-$HOME/go}:/go" \
  docker.io/golangci/golangci-lint:v1.46 \
  golangci-lint run --color=always