Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Makefile & GitHub Action workflow so Updater binary has license scans #604

Merged
merged 1 commit into from
Aug 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/multi_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Scan Third Party Dependency Licenses
run: |
go install github.com/uw-labs/[email protected]
lichen --config=./license.yaml $(find dist/collector_*)
lichen --config=./license.yaml $(find dist/collector_* dist/updater_*)
build_darwin:
runs-on: macos-11
steps:
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Scan Third Party Dependency Licenses
run: |
go install github.com/uw-labs/[email protected]
lichen --config=./license.yaml $(find dist/collector_*)
lichen --config=./license.yaml $(find dist/collector_* dist/updater_*)
build_windows:
runs-on: windows-2019
steps:
Expand All @@ -80,4 +80,4 @@ jobs:
- name: Scan Third Party Dependency Licenses
run: |
go install github.com/uw-labs/[email protected]
lichen --config=./license.yaml dist/collector_windows_amd64.exe
lichen --config=./license.yaml dist/collector_windows_amd64.exe dist/updater_windows_amd64.exe
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ clean:

.PHONY: scan-licenses
scan-licenses:
lichen --config=./license.yaml $$(find dist/collector_* | grep -v 'sig\|json\|CHANGELOG.md\|yaml\|SHA256' | xargs)
lichen --config=./license.yaml $$(find dist/collector_* dist/updater_*)

.PHONY: generate
generate:
Expand Down
1 change: 1 addition & 0 deletions license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ exceptions:
- path: "./receiver/pluginreceiver"
- path: "./exporter/googlecloudexporter"
- path: "./packagestate"
- path: "../packagestate"
- path: "./opamp/observiq/testdata/latest"