Skip to content

Commit

Permalink
[fix] exclude vendor from lint
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosoik committed Dec 16, 2022
1 parent fc31df4 commit 8b77710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ jobs:

- name: Generate Operator Manifests
run: |
make clean operator-sdk
mkdir -p /tmp/apis/mattermost/v1alpha1
make clean
make operator-sdk
mkdir -p /tmp/apis/mattermost/v1alpha1
cp -R apis/mattermost/v1alpha1/* /tmp/apis/mattermost/v1alpha1
mkdir -p /tmp/apis/mattermost/v1beta1
cp -R apis/mattermost/v1beta1/* /tmp/apis/mattermost/v1beta1
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BASE_IMAGE = gcr.io/distroless/static:nonroot
################################################################################

GO ?= $(shell command -v go 2> /dev/null)
PACKAGES=$(shell go list ./...)
PACKAGES=$(shell go list ./... | grep -v vendor)
TEST_PACKAGES=$(shell go list ./...| grep -v test/e2e)

OPERATOR_IMAGE ?= mattermost/mattermost-operator:test
Expand Down

0 comments on commit 8b77710

Please sign in to comment.