Skip to content

refactor: better go module import impl #1149

refactor: better go module import impl

refactor: better go module import impl #1149

Workflow file for this run

name: build-and-test-linux
on:
pull_request:
push:
branches:
- main
- "releases/*"
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: CGO_ENABLED=0 go test
run: CGO_ENABLED=0 go test ./...
- name: CGO_ENABLED=1 go test
run: CGO_ENABLED=1 go test ./...
# Parallel tests
- run: go test -v -coverprofile=profile.cov ./...
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov