Skip to content

Commit 2e7b5c7

Browse files
committed
update deps and added renovate to track
1 parent 5ea8c36 commit 2e7b5c7

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

.deps/golangci-lint.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
# renovate: datasource=github-releases depName=golangci/golangci-lint
2-
version: 2.8.0
3-
url: https://github.com/golangci/golangci-lint/releases/download/v{{.Version}}/golangci-lint-{{.Version}}-{{.Os}}-{{.Architecture}}.tar.gz
4-
mappings:
5-
architecture:
6-
amd64: amd64
7-
arm64: arm64
8-
os:
9-
darwin: darwin
10-
linux: linux
2+
version: v2.8.0
3+
url: "{{.Version}}"

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,9 @@ clean: ## Remove build artifacts
7474

7575
# Code quality tool binaries
7676
.bin/golangci-lint: .deps/golangci-lint.yaml .bin/ory
77-
@mkdir -p .bin
78-
@URL=$$(.bin/ory dev ci deps url -o $(OS) -a $(ARCH) -c .deps/golangci-lint.yaml); \
79-
echo "Downloading golangci-lint from $${URL}..."; \
80-
curl -sSfL "$${URL}" | tar -xz -C .bin --strip-components=1 --wildcards '*/golangci-lint'; \
81-
chmod +x .bin/golangci-lint
77+
@VERSION=$$(.bin/ory dev ci deps url -o $(OS) -a $(ARCH) -c .deps/golangci-lint.yaml); \
78+
echo "Installing golangci-lint $${VERSION}..."; \
79+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b .bin $${VERSION}
8280

8381
.bin/tfplugindocs: .deps/tfplugindocs.yaml .bin/ory
8482
@mkdir -p .bin

0 commit comments

Comments
 (0)