diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 6deff2320d..2b5a9437b0 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -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 @@ -44,6 +47,7 @@ jobs: with: args: -v version: v1.48 + working-directory: ${{ matrix.workdir }} security: name: Security diff --git a/Makefile b/Makefile index 09ce4b790a..d3602da554 100644 --- a/Makefile +++ b/Makefile @@ -146,6 +146,7 @@ vet: .PHONY: lint lint: golangci-lint run + cd cmd/otel-allocator && golangci-lint run # Generate code .PHONY: generate