mirror of
https://github.com/lone-cloud/prism
synced 2026-06-03 08:43:10 -07:00
fix lint checks to work with newest version of go
This commit is contained in:
parent
2821ec1c9a
commit
a6fff3b382
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
- name: Install tools
|
||||
run: |
|
||||
go install golang.org/x/tools/cmd/goimports@latest
|
||||
curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.8.0
|
||||
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.8.0
|
||||
|
||||
- name: Build
|
||||
run: make all
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -33,7 +33,7 @@ clean:
|
|||
install-tools:
|
||||
@echo "Installing Go tools to $(GOBIN)..."
|
||||
go install golang.org/x/tools/cmd/goimports@latest
|
||||
curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v2.8.0
|
||||
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.8.0
|
||||
@echo "Installing signal-cli native binary..."
|
||||
@ARCH=$$(uname -m); \
|
||||
case $$ARCH in \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue