Skip to content

Commit

Permalink
only go generate
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed May 17, 2023
1 parent e37088f commit 8cd5047
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
with:
path: ~/.tools
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('./internal/tools/**') }}
- name: Run go generate and vanity-import-fix
run: make generate vanity-import-fix
- name: Run go generate
run: make generate
- name: Run linters
run: make dependabot-check license-check lint
run: make dependabot-check license-check lint vanity-import-check
- name: Build
run: make build
- name: Check clean repository
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ TIMEOUT = 60
.DEFAULT_GOAL := precommit

.PHONY: precommit ci
precommit: generate vanity-import-fix dependabot-generate license-check misspell go-mod-tidy golangci-lint-fix test-default
ci: generate vanity-import-fix dependabot-check license-check lint build test-default check-clean-work-tree test-coverage
precommit: generate dependabot-generate license-check misspell go-mod-tidy vanity-import-fix golangci-lint-fix test-default
ci: generate dependabot-check license-check lint vanity-import-check build test-default check-clean-work-tree test-coverage

# Tools

Expand Down

0 comments on commit 8cd5047

Please sign in to comment.