mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2026-12-01 08:51:30 +00:00
调整了go:build选项
This commit is contained in:
1 parent
867008a0c0
commit
1d1591ca6b
7 files changed
+8
-6
No files matched your search
@@ -131,9 +131,9 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix: { goarch: [ amd64, arm64 ] }
|
||||
env:
|
||||
CGO_ENABLED: 1
|
||||
GOOS: darwin
|
||||
GOARCH: ${{ matrix.goarch }}
|
||||
CGO_ENABLED: 1
|
||||
steps:
|
||||
- name: Checkout codebase
|
||||
uses: actions/checkout@v5
|
||||
|
||||
@@ -50,11 +50,11 @@ jobs:
|
||||
if: ${{ matrix.os != 'windows-latest' }}
|
||||
shell: bash
|
||||
run: |
|
||||
sudo go env -w GOTOOLCHAIN=go1.25.0+auto
|
||||
sudo go env -w GOTOOLCHAIN=go1.25.1+auto
|
||||
sudo go test -v -ldflags=-checklinkname=0 -covermode=count -coverprofile='coverage.out' ./...
|
||||
|
||||
- name: Test with windows
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
run: |
|
||||
go env -w GOTOOLCHAIN=go1.25.0+auto
|
||||
go env -w GOTOOLCHAIN=go1.25.1+auto
|
||||
go test -v -ldflags=-checklinkname=0 -covermode=count -coverprofile="coverage.out" ./...
|
||||
Reference in new issue
Block a user