Skip to content

Commit

Permalink
chore: generate mocks
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan committed Mar 19, 2022
1 parent c3538b0 commit a774ba5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
with:
go-version: 1.17

- name: Lint tests
- name: Lint check
run: make lint
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ lint:
$(GOCMD) install -v github.com/golang/mock/mockgen
export PATH=$HOME/go/bin:$PATH
$(GOMOCKS)
./scripts/lint.sh
tidy:
$(GOMOD) tidy -v
test:
Expand Down
1 change: 1 addition & 0 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/usr/bin/env bash
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0
golangci-lint run -v > lint.xml

0 comments on commit a774ba5

Please sign in to comment.