Skip to content

Add codegeneration for stack.FunctionID #1

Add codegeneration for stack.FunctionID

Add codegeneration for stack.FunctionID #1

Workflow file for this run

name: codegen
on:
push:
branches:
- master
- release-*
pull_request:
workflow_dispatch:
jobs:
test:
concurrency:
group: codegen-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }}
cancel-in-progress: true
strategy:
matrix:
os: [ ubuntu-latest ]
go-version: [1.21.x, 1.22.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Go Env
run: |
go env
- name: Build
run: |
go build ./internal/cmd/gstack
- name: Re-generate stack.FunctionID calls
run: |
go run ./gstack .
rm ./gstack