Improve struct field offset calculation #1621
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: src/github.com/${{ github.repository }} # The repo is cloned into /home/runner/work/babygo/babygo/src/github.com/DQNEO/babygo | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- name: Test | |
run: GOPATH=${{ github.workspace }} make -C ${{ github.workspace }}/src/github.com/DQNEO/babygo test |