File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,12 @@ tasks:
142142 - easyjson arduino/cores/packageindex/index.go
143143 - easyjson arduino/libraries/librariesindex/json.go
144144
145+ go:check-license-headers :
146+ desc : Check go license headers
147+ cmds :
148+ -
go install github.com/google/[email protected] 149+ - addlicense -c "ARDUINO SA (http://www.arduino.cc/)" -f ./license_header.tpl *.go
150+
145151 # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-markdown-task/Taskfile.yml
146152 markdown:check-links :
147153 desc : Check for broken links
@@ -309,6 +315,7 @@ tasks:
309315 cmds :
310316 - task : go:vet
311317 - task : go:lint
318+ - task : go:check-license-headers
312319 - task : protoc:check
313320
314321 check-legacy :
You can’t perform that action at this time.
0 commit comments