Skip to content

Commit 2ea360f

Browse files
committed
updates to CI/CD workflows
1 parent be5f8d2 commit 2ea360f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
1515
go-version: [ "1.24.0" ]
1616
runs-on: ${{ matrix.os }}
17+
env:
18+
CGO_ENABLED: 0
1719
steps:
1820
-
1921
name: setup Go ${{ matrix.go-version }}
@@ -25,15 +27,15 @@ jobs:
2527
uses: actions/checkout@v4
2628
-
2729
name: simple test
28-
run: CGO_ENABLED=0 go test -v ./...
30+
run: go test -v ./...
2931
-
3032
name: test with GC pressure
31-
run: CGO_ENABLED=0 go test -v ./...
33+
run: go test -v ./...
3234
env:
3335
GOGC: 1
3436
-
3537
name: test with race detector
36-
run: CGO_ENABLED=0 go test -v -race ./...
38+
run: go test -v -race ./...
3739
coverage:
3840
name: Coverage
3941
runs-on: ubuntu-latest

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ permissions:
1111
jobs:
1212
goreleaser:
1313
runs-on: ubuntu-latest
14+
env:
15+
CGO_ENABLED: 0
1416
steps:
1517
-
1618
name: checkout

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
1313
go-version: [ "1.24.0" ]
1414
runs-on: ${{ matrix.os }}
15+
env:
16+
CGO_ENABLED: 0
1517
steps:
1618
-
1719
name: setup

0 commit comments

Comments
 (0)