replace cloudflare-bpc with utls (#58)

* replace cloudflare-bpc with utls

* fix test

* ci: skip utls test
This commit is contained in:
UUBulb
2024-08-28 23:21:25 +08:00
committed by GitHub
parent 42187f2bf2
commit c8134a8b86
9 changed files with 368 additions and 37 deletions
+3 -1
View File
@@ -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
+3 -1
View File
@@ -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]