mirror of
https://github.com/libp2p/go-openssl.git
synced 2025-01-30 05:20:08 +08:00
update .github/workflows/go-test.yml
This commit is contained in:
parent
0e129fb7c4
commit
77c1db38da
8
.github/workflows/go-test.yml
vendored
8
.github/workflows/go-test.yml
vendored
@ -13,8 +13,8 @@ jobs:
|
|||||||
go: [ "1.16.x", "1.17.x" ]
|
go: [ "1.16.x", "1.17.x" ]
|
||||||
env:
|
env:
|
||||||
COVERAGES: ""
|
COVERAGES: ""
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ format('{0}-latest', matrix.os) }}
|
||||||
name: ${{ matrix.os}} (go ${{ matrix.go }})
|
name: ${{ matrix.os }} (go ${{ matrix.go }})
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -50,7 +50,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GOARCH: 386
|
GOARCH: 386
|
||||||
with:
|
with:
|
||||||
run: go test -v ./...
|
run: |
|
||||||
|
export "PATH=${{ env.PATH_386 }}:$PATH"
|
||||||
|
go test -v ./...
|
||||||
- name: Run tests with race detector
|
- name: Run tests with race detector
|
||||||
if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow
|
if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow
|
||||||
uses: protocol/multiple-go-modules@v1.2
|
uses: protocol/multiple-go-modules@v1.2
|
||||||
|
Loading…
Reference in New Issue
Block a user