Skip to content

Commit

Permalink
Updated Makefile & GitHub Action workflow so Updater binary has licen…
Browse files Browse the repository at this point in the history
…se scans (#604)
  • Loading branch information
StefanKurek authored and BinaryFissionGames committed Aug 4, 2022
1 parent f3340dd commit b5ad5f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
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"

0 comments on commit b5ad5f2

Please sign in to comment.