Skip to content

Commit

Permalink
Change lint to run other linting related commands as well. (open-tele…
Browse files Browse the repository at this point in the history
  • Loading branch information
jefchien committed Jan 13, 2022
1 parent 1429556 commit 4697e1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
path: /home/runner/.cache/go-build
key: go-build-lint-${{ runner.os }}-${{ hashFiles('**/go.mod', '**/go.sum') }}
- name: Lint
run: make -j2 golint
run: make -j4 golint
- name: Checks
run: make -j4 checklicense misspell checkdoc impi porto
run: make -j4 checkdoc porto
- name: Codegem
run: |
make generate
Expand Down
2 changes: 1 addition & 1 deletion Makefile.Common
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ fmt:
goimports -w -local github.com/open-telemetry/opentelemetry-collector-contrib ./

.PHONY: lint
lint:
lint: checklicense impi misspell
$(LINT) run --allow-parallel-runners

.PHONY: porto
Expand Down

0 comments on commit 4697e1a

Please sign in to comment.