Skip to content

Fix/from slice ptr

Fix/from slice ptr #40

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: ["main"]
paths:
- "**/*.go"
- "**/go.*"
pull_request:
branches: ["main"]
paths:
- "**/*.go"
- "**/go.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"
- name: Build
run: go build -v ./...
- name: Unit Test
run: go test -v ./...
- name: Example Test
run: |
go generate ./example
git diff --exit-code ./example
go run ./example