Skip to content

Commit 4ceb94f

Browse files
authored
chore: use ignite v29.1.x (#12)
1 parent 22c4828 commit 4ceb94f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3181
-6145
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
2525

@@ -34,6 +34,7 @@ jobs:
3434
args: chain build --release --release.prefix ${{ steps.vars.outputs.tarball_prefix }} -t linux:amd64 -t darwin:amd64 -t darwin:arm64 -y
3535
env:
3636
DO_NOT_TRACK: 1
37+
GOFLAGS: "-buildvcs=false"
3738

3839
- name: Delete the "latest" Release
3940
uses: dev-drprasad/[email protected]

Makefile

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
22
COMMIT := $(shell git log -1 --format='%H')
33
APPNAME := example
44

5-
# don't override user values
5+
# do not override user values
66
ifeq (,$(VERSION))
77
VERSION := $(shell git describe --exact-match 2>/dev/null)
8-
# if VERSION is empty, then populate it with branch's name and raw commit hash
8+
# if VERSION is empty, then populate it with branch name and raw commit hash
99
ifeq (,$(VERSION))
1010
VERSION := $(BRANCH)-$(COMMIT)
1111
endif
@@ -63,10 +63,11 @@ install:
6363
### Protobuf ###
6464
##################
6565

66-
# Use this proto-image if you do not want to use Ignite for generating proto files
67-
protoVer=0.15.1
68-
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
69-
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)
66+
# Use this target if you do not want to use Ignite for generating proto files
67+
68+
proto-deps:
69+
@echo "Installing proto deps"
70+
@echo "Proto deps present, run 'go tool' to see them"
7071

7172
proto-gen:
7273
@echo "Generating protobuf files..."
@@ -78,18 +79,13 @@ proto-gen:
7879
### Linting ###
7980
#################
8081

81-
golangci_lint_cmd=golangci-lint
82-
golangci_version=v1.61.0
83-
8482
lint:
8583
@echo "--> Running linter"
86-
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(golangci_version)
87-
@$(golangci_lint_cmd) run ./... --timeout 15m
84+
@go tool github.com/golangci/golangci-lint/cmd/golangci-lint run ./... --timeout 15m
8885

8986
lint-fix:
9087
@echo "--> Running linter and fixing issues"
91-
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(golangci_version)
92-
@$(golangci_lint_cmd) run ./... --fix --timeout 15m
88+
@go tool github.com/golangci/golangci-lint/cmd/golangci-lint run ./... --fix --timeout 15m
9389

9490
.PHONY: lint lint-fix
9591

@@ -103,7 +99,7 @@ govet:
10399

104100
govulncheck:
105101
@echo Running govulncheck...
106-
@go install golang.org/x/vuln/cmd/govulncheck@latest
102+
@go tool golang.org/x/vuln/cmd/govulncheck@latest
107103
@govulncheck ./...
108104

109105
.PHONY: govet govulncheck

0 commit comments

Comments
 (0)