Skip to content

Rename table model fields #333

Rename table model fields

Rename table model fields #333

Workflow file for this run

name: Go
on:
push:
branches:
- main
- 'rel/*'
pull_request:
branches:
- main
- 'rel/*'
# allow manually run the action:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
go: ['1.13', 'stable']
exclude:
- os: macos-latest
go: '1.13'
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Install curl on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y curl
- name: Install curl on Windows
if: matrix.os == 'windows-latest'
run: choco install curl -y
- name: Build
run: |
make generate
go build -v ./...
- name: Test
run: make test