Skip to content

Commit

Permalink
update lint target, gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristina Pathak committed Sep 19, 2022
1 parent 8f79c3d commit ea04ebb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
lint:
name: Code standards (linting)
runs-on: ubuntu-20.04
strategy:
matrix:
workdir: [".", "./cmd/otel-allocator"]
steps:
- name: Set up Go
uses: actions/setup-go@v3
Expand All @@ -44,6 +47,7 @@ jobs:
with:
args: -v
version: v1.48
working-directory: ${{ matrix.workdir }}

security:
name: Security
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ vet:
.PHONY: lint
lint:
golangci-lint run
cd cmd/otel-allocator && golangci-lint run

# Generate code
.PHONY: generate
Expand Down

0 comments on commit ea04ebb

Please sign in to comment.