mirror of
https://github.com/lone-cloud/prism
synced 2026-06-03 19:54:44 -07:00
fix lint checks to work with newest version of go
This commit is contained in:
parent
2821ec1c9a
commit
2b8f6f6895
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
|
- name: Install tools
|
||||||
run: |
|
run: |
|
||||||
go install golang.org/x/tools/cmd/goimports@latest
|
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
|
- name: Build
|
||||||
run: make all
|
run: make all
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -33,7 +33,7 @@ clean:
|
||||||
install-tools:
|
install-tools:
|
||||||
@echo "Installing Go tools to $(GOBIN)..."
|
@echo "Installing Go tools to $(GOBIN)..."
|
||||||
go install golang.org/x/tools/cmd/goimports@latest
|
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..."
|
@echo "Installing signal-cli native binary..."
|
||||||
@ARCH=$$(uname -m); \
|
@ARCH=$$(uname -m); \
|
||||||
case $$ARCH in \
|
case $$ARCH in \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue