Skip to content

Add CGO_ENABLED to release process #142

Add CGO_ENABLED to release process

Add CGO_ENABLED to release process #142

Workflow file for this run

name: Build and Test
on:
pull_request:
branches:
- 'main'
permissions:
contents: write
packages: write
id-token: write
jobs:
unit-test:
runs-on: ubuntu-latest
env:
CGO_ENABLED: 1
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '>=1.20.1'
cache: true
- name: Build
run: go build -v ./...
- name: Test (Unit Only)
run: go test -v ./... -short