Bump golang.org/x/crypto from 0.19.0 to 0.21.0 (#103) #152
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 ./... |