Skip to content

Commit

Permalink
Merge pull request #348 from vshn/linter-generate
Browse files Browse the repository at this point in the history
Ensure linter checks for generated code too
  • Loading branch information
ccremer authored Feb 8, 2021
2 parents b056ee8 + ab5d40a commit e5c4137
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Run linters
run: make lint
run: make generate lint
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ spec:
versions:
- additionalPrinterColumns:
- description: Schedule Namespace
jsonPath: .spec.effectiveSchedules[0].namespace
jsonPath: .spec.scheduleRefs[0].namespace
name: Schedule Namespace
type: string
- description: Schedule Name
jsonPath: .spec.effectiveSchedules[0].name
jsonPath: .spec.scheduleRefs[0].name
name: Schedule Name
type: string
- description: Generated Schedule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ metadata:
name: effectiveschedules.backup.appuio.ch
spec:
additionalPrinterColumns:
- JSONPath: .spec.effectiveSchedules[0].namespace
- JSONPath: .spec.scheduleRefs[0].namespace
description: Schedule Namespace
name: Schedule Namespace
type: string
- JSONPath: .spec.effectiveSchedules[0].name
- JSONPath: .spec.scheduleRefs[0].name
description: Schedule Name
name: Schedule Name
type: string
Expand Down

0 comments on commit e5c4137

Please sign in to comment.