Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sivukhin committed Feb 12, 2024
1 parent 950cd91 commit a535196
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ jobs:
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: make test FORMAT=github-actions
run: TEST_FORMAT=github-actions make test

12 changes: 9 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
FORMAT=standard-quiet
.PHONY: test lint

TEST_FORMAT ?= standard-quiet
LINT_FORMAT ?= colored-line-number

all: test lint

test:
go install gotest.tools/gotestsum@latest
gotestsum -f $(FORMAT) -- -tags=test ./...
gotestsum --format $(FORMAT) -- -tags=test ./...
lint:
golangci-lint run -v
golangci-lint run --out-format $(LINT_FORMAT) --verbose

0 comments on commit a535196

Please sign in to comment.