File tree Expand file tree Collapse file tree 4 files changed +38
-0
lines changed
Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 7171 - name : Run Staticcheck
7272 run : make staticcheck
7373
74+ - name : Check License headers
75+ run : |
76+ GO111MODULE=off go get github.com/google/addlicense
77+
78+ addlicense -check $(find . -type f -name "*.go")
79+ addlicense -check $(find . -type f -name "*.sh")
80+ addlicense -check $(find . -type f -name "Dockerfile")
81+
7482 - name : Check docs
7583 if : " !contains(github.ref, 'refs/heads/master')"
7684 run : make docs && test -z "$(git status --porcelain)" || exit 1
Original file line number Diff line number Diff line change 1+ /*
2+ Copyright 2021 The terraform-docs Authors.
3+
4+ Licensed under the MIT license (the "License"); you may not
5+ use this file except in compliance with the License.
6+
7+ You may obtain a copy of the License at the LICENSE file in
8+ the root directory of this source tree.
9+ */
10+
111package cli
212
313import (
Original file line number Diff line number Diff line change 1+ /*
2+ Copyright 2021 The terraform-docs Authors.
3+
4+ Licensed under the MIT license (the "License"); you may not
5+ use this file except in compliance with the License.
6+
7+ You may obtain a copy of the License at the LICENSE file in
8+ the root directory of this source tree.
9+ */
10+
111package plugin
212
313import (
Original file line number Diff line number Diff line change 1+ /*
2+ Copyright 2021 The terraform-docs Authors.
3+
4+ Licensed under the MIT license (the "License"); you may not
5+ use this file except in compliance with the License.
6+
7+ You may obtain a copy of the License at the LICENSE file in
8+ the root directory of this source tree.
9+ */
10+
111package plugin
212
313import (
You can’t perform that action at this time.
0 commit comments