Skip to content

Commit 2597a07

Browse files
authored
ci: fix addlicense
see google/go-licenses#75
1 parent 1ed3170 commit 2597a07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/license.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ jobs:
1818
- uses: actions/checkout@v2
1919
- name: Set up Golang
2020
uses: actions/setup-go@v2
21+
with:
22+
go-version: '^1.16' # See https://github.com/google/go-licenses/issues/75
2123
- name: Install addlicense
2224
run: |
2325
export PATH=${PATH}:`go env GOPATH`/bin
2426
go get -v -u github.com/google/addlicense
2527
- name: Check license
2628
run: |
2729
export PATH=${PATH}:`go env GOPATH`/bin
28-
addlicense -check -l mit -c "ING Wholesale Banking Advanced Analytics" $(find popmon/ -type f -name '*.py' -not -path popmon/version.py)
30+
addlicense -check -l mit -c "ING Wholesale Banking Advanced Analytics" $(find popmon/ -type f -name '*.py' -not -path popmon/version.py)

0 commit comments

Comments
 (0)