Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export OSTYPE := $(shell uname -s)
VERSION := $(shell echo $(shell git describe --tags) | sed 's/^v//')
COMMIT := $(shell git log -1 --format='%H')
GO_VERSION := $(shell cat go.mod | grep -E 'go [0-9].[0-9]+' | cut -d ' ' -f 2)
GOTOOLCHAIN := go$(GO_VERSION)
PACKAGES_UNIT=$(shell go list ./...)
DOCKER := $(shell which docker)
BUILDDIR ?= $(CURDIR)/build
Expand Down Expand Up @@ -58,7 +59,7 @@ all-start: osmosis-start run

lint:
@echo "--> Running linter"
golangci-lint run --timeout=10m
GOTOOLCHAIN=$(GOTOOLCHAIN) golangci-lint run --timeout=10m

test-unit:
@VERSION=$(VERSION) go test -mod=readonly $(PACKAGES_UNIT)
Expand Down