Bump github.com/stretchr/testify from 1.8.4 to 1.10.0 (#109) #169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.17 | |
- name: Build w/ CGO | |
run: GOOS=linux go build | |
- name: Build w/o CGO | |
run: GOOS=linux CGO_ENABLED=0 go build | |
- name: WASM Build | |
run: GOOS=js GOARCH=wasm go build | |
- name: Test decompression w/ CGO | |
run: go test -v -run TestPublicKeyDecompression -count 100 | |
- name: Test decompression w/o CGO | |
run: CGO_ENABLED=0 go test -v -run TestPublicKeyDecompression -count 100 | |
- name: Test w/ CGO | |
run: go test -v ./... | |
- name: Test w/o CGO | |
run: CGO_ENABLED=0 go test -v ./... | |
- name: Test race w/ CGO | |
run: go test -race -v ./... | |
- name: Test race w/o CGO | |
run: go test -tags=ecies_test_race -race -v ./... |