Skip to content

feat: update Go version and dependencies (#111) #175

feat: update Go version and dependencies (#111)

feat: update Go version and dependencies (#111) #175

Workflow file for this run

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.22
- 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 ./...