Skip to content

Commit 591c4da

Browse files
authored
Fix for failing builds (#2284)
* Replace golang-ci install path Noticed builds failing to download this script. Docs are updated with a new install path direct from GitHub - https://golangci-lint.run/usage/install/#other-ci * Workaround bot protection on docs.github.com There seems to be bot protection on docs.github.com which can be bypassed by requesting compressed content - github/docs#17358 (comment)
1 parent 8e84311 commit 591c4da

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
muffet \
4545
-e 'https://github\.com/runatlantis/atlantis/edit/master/.*' \
4646
-e 'https://github.com/helm/charts/tree/master/stable/atlantis#customization' \
47+
--header 'Accept-Encoding:deflate, gzip' \
4748
--buffer-size 8192 \
4849
http://localhost:8080/
4950

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ lint: ## Run linter locally
6464
golangci-lint run
6565

6666
check-lint: ## Run linter in CI/CD. If running locally use 'lint'
67-
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b ./bin v1.39.0
67+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./bin v1.39.0
6868
./bin/golangci-lint run -j 4 --timeout 5m
6969

7070
check-fmt: ## Fail if not formatted

0 commit comments

Comments
 (0)