Skip to content

Commit

Permalink
fix tests for Go 1.23
Browse files Browse the repository at this point in the history
rebuil
  • Loading branch information
haoxins committed Aug 16, 2024
1 parent 8e2672e commit 7b9cbd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
cache: false # don't use cache for self-hosted runners

- name: Unit Test
run: go test -race -covermode=atomic -coverprofile=coverage.txt ./...
run: go test -race -ldflags=-checklinkname=0 -covermode=atomic -coverprofile=coverage.txt ./...

- name: Codecov
run: bash <(curl -s https://codecov.io/bash)
Expand All @@ -53,7 +53,7 @@ jobs:
cache: false # don't use cache for self-hosted runners

- name: Unit Test
run: go test -race -covermode=atomic ./...
run: go test -race -ldflags=-checklinkname=0 -covermode=atomic ./...

hz-test-unix:
runs-on: [ self-hosted, X64 ]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
.vscode
pkg/app/fs.go.hertz.gz
coverage.txt
coverage.out

0 comments on commit 7b9cbd7

Please sign in to comment.