Update staticcheck to 2025.1.1
This commit is contained in:
parent
ced8ba7c6c
commit
86b2b954a9
2
Makefile
2
Makefile
|
|
@ -162,7 +162,7 @@ staticcheck: ## Verifies `staticcheck` passes
|
|||
@echo "+ $@"
|
||||
ifndef HAS_STATICCHECK
|
||||
$(eval TMP_DIR := $(shell mktemp -d))
|
||||
wget -O $(TMP_DIR)/staticcheck_$(PLATFORM)_amd64.tar.gz https://github.com/dominikh/go-tools/releases/download/2023.1.7/staticcheck_$(PLATFORM)_amd64.tar.gz
|
||||
wget -O $(TMP_DIR)/staticcheck_$(PLATFORM)_amd64.tar.gz https://github.com/dominikh/go-tools/releases/download/2025.1.1/staticcheck_$(PLATFORM)_amd64.tar.gz
|
||||
tar zxvf $(TMP_DIR)/staticcheck_$(PLATFORM)_amd64.tar.gz -C $(TMP_DIR)
|
||||
mkdir -p $(PROJECT_DIR)/bin
|
||||
mv $(TMP_DIR)/staticcheck/staticcheck $(PROJECT_DIR)/bin
|
||||
|
|
|
|||
Loading…
Reference in New Issue