Skip to content

fix: handle empty array as nil when filling record defaults (#345) #1298

fix: handle empty array as nil when filling record defaults (#345)

fix: handle empty array as nil when filling record defaults (#345) #1298

Workflow file for this run

name: golangci-lint
concurrency:
# Run only for most recent commit in PRs but for all tags and commits on main
# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches:
- 'main'
- 'release/*'
pull_request:
branches:
- '*'
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Setup golangci-lint
uses: golangci/[email protected]
with:
# actions/setup-go@v4 introduced automatic cache handling so skip cache here
skip-cache: true
- name: Verify Codegen
run: make verify-codegen