Skip to content

all: replace github.com/kr/pretty with github.com/k0kubun/pp/v3 #12

all: replace github.com/kr/pretty with github.com/k0kubun/pp/v3

all: replace github.com/kr/pretty with github.com/k0kubun/pp/v3 #12

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Go
uses: actions/[email protected]
with:
go-version-file: go.mod
check-latest: true
- name: Vet Go code
run: go vet ./...
- name: Test Go code
run: go test -v -race ./...
- name: Test Go without cgo
env:
CGO_ENABLED: 0
run: go test -v ./...
- name: Verify repo is unchanged
run: git diff --exit-code HEAD