replace cloudflare-bpc with utls (#58)
* replace cloudflare-bpc with utls * fix test * ci: skip utls test
This commit is contained in:
@@ -17,8 +17,10 @@ jobs:
|
||||
with:
|
||||
go-version: "1.20.13"
|
||||
- name: Unit test
|
||||
# Skip TestCloudflareDetection here, as most IP addresses of Github's action
|
||||
# runners have been marked as bot.
|
||||
run: |
|
||||
go test -v ./...
|
||||
go test -skip TestCloudflareDetection -v ./...
|
||||
- name: Build test
|
||||
run: |
|
||||
go build ./cmd/agent
|
||||
|
||||
@@ -25,8 +25,10 @@ jobs:
|
||||
with:
|
||||
go-version: "1.20.13"
|
||||
- name: Unit test
|
||||
# Skip TestCloudflareDetection here, as most IP addresses of Github's action
|
||||
# runners have been marked as bot.
|
||||
run: |
|
||||
go test -v ./...
|
||||
go test -skip TestCloudflareDetection -v ./...
|
||||
#- name: Run Gosec Security Scanner
|
||||
# run: |
|
||||
# go install github.com/securego/gosec/v2/cmd/[email protected]
|
||||
|
||||
Reference in New Issue
Block a user