Appease linter in main test
@@ -62,7 +62,7 @@ cache-clear: ## Clear the builder cache
@docker builder prune --force --filter type=exec.cachemount --filter=unused-for=24h
lint: ## run linter(s)
- docker run --rm -t -v $(PWD):/app -w /app golangci/golangci-lint:v1.27-alpine golangci-lint run ./...
+ docker run --rm -t -v $(PWD):/app -w /app golangci/golangci-lint:v1.27-alpine golangci-lint run --timeout 10m0s ./...
help: ## Show help
@echo Please specify a build target. The choices are:
@@ -44,6 +44,7 @@ var contextSetConfig = []byte(`{
func TestDetermineCurrentContext(t *testing.T) {
d, err := ioutil.TempDir("", "")
+ // nolint errcheck
defer os.RemoveAll(d)
require.NoError(t, err)
err = ioutil.WriteFile(filepath.Join(d, config.ConfigFileName), contextSetConfig, 0644)