Skip to content

Commit

Permalink
Refactor cross-arch-test.yaml for CGO_ENABLED=0
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuaNerin committed Sep 10, 2024
1 parent 1c9c48c commit 335bdd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cross-arch-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ jobs:
--volume ${{ github.workspace }}:/src \
--workdir /src \
--platform ${{ matrix.platform }} \
--env CGO_ENABLED=0 \
${{ matrix.image }} \
go test --tags=purego -test.short ./...
Expand All @@ -210,5 +211,6 @@ jobs:
--volume ${{ github.workspace }}:/src \
--workdir /src \
--platform ${{ matrix.platform }} \
--env CGO_ENABLED=0 \
${{ matrix.image }} \
go test -v -test.short ./...

0 comments on commit 335bdd2

Please sign in to comment.