|
|
@@ -166,7 +166,7 @@ jobs:
|
|
|
if: ${{ matrix.test-type == 'code-vetting' }}
|
|
|
run: |
|
|
|
cd ${{ github.workspace }}/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core
|
|
|
- go vet -tags "PSIPHON_ENABLE_INPROXY PSIPHON_ENABLE_REFRACTION_NETWORKING" ./psiphon/...
|
|
|
+ go vet -tags "PSIPHON_ENABLE_INPROXY PSIPHON_ENABLE_REFRACTION_NETWORKING" ./psiphon/... ./ClientLibrary/... ./ConsoleClient/... ./MobileLibrary/psi ./Server/...
|
|
|
|
|
|
# License check ignore cases:
|
|
|
#
|
|
|
@@ -179,13 +179,12 @@ jobs:
|
|
|
# dependencies"; manually vetted
|
|
|
#
|
|
|
# - github.com/oschwald/maxminddb-golang,github.com/shoenig/go-m1cpu:
|
|
|
- # ISC and MPL-2.0 respectively; allowed for server only (there are
|
|
|
- # extra passes, without this exclusion, over the main client
|
|
|
- # packages)
|
|
|
+ # ISC and MPL-2.0 respectively; allowed for server only (there is an
|
|
|
+ # extra pass, without this exclusion, over the main client packages)
|
|
|
#
|
|
|
- name: Check licenses
|
|
|
if: ${{ matrix.test-type == 'code-vetting' }}
|
|
|
run: |
|
|
|
+ cd ${{ github.workspace }}/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core
|
|
|
go run github.com/google/go-licenses@latest check --ignore=github.com/Psiphon-Labs,github.com/Psiphon-Inc,golang.org/x,filippo.io/edwards25519,github.com/klauspost/compress,github.com/oschwald/maxminddb-golang,github.com/shoenig/go-m1cpu --allowed_licenses=Apache-2.0,Apache-3,BSD-2-Clause,BSD-3-Clause,BSD-4-Clause,CC0-1.0,MIT ./...
|
|
|
- go run github.com/google/go-licenses@latest check --ignore=github.com/Psiphon-Labs,github.com/Psiphon-Inc,golang.org/x,filippo.io/edwards25519,github.com/klauspost/compress --allowed_licenses=Apache-2.0,Apache-3,BSD-2-Clause,BSD-3-Clause,BSD-4-Clause,CC0-1.0,MIT ./psiphon
|
|
|
- go run github.com/google/go-licenses@latest check --ignore=github.com/Psiphon-Labs,github.com/Psiphon-Inc,golang.org/x,filippo.io/edwards25519,github.com/klauspost/compress --allowed_licenses=Apache-2.0,Apache-3,BSD-2-Clause,BSD-3-Clause,BSD-4-Clause,CC0-1.0,MIT ./psiphon/common/...
|
|
|
+ go run github.com/google/go-licenses@latest check --ignore=github.com/Psiphon-Labs,github.com/Psiphon-Inc,golang.org/x,filippo.io/edwards25519,github.com/klauspost/compress --allowed_licenses=Apache-2.0,Apache-3,BSD-2-Clause,BSD-3-Clause,BSD-4-Clause,CC0-1.0,MIT ./psiphon ./psiphon/common/... ./ClientLibrary/... ./ConsoleClient/... ./MobileLibrary/psi
|