Skip to content

allownil: Allocate 0 length slices #29

allownil: Allocate 0 length slices

allownil: Allocate 0 length slices #29

Workflow file for this run

name: validate
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- 'master'
- 'main'
tags:
- 'v*'
pull_request:
permissions:
contents: read
jobs:
linters:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- name: prepare generated code
run: make prepare
- name: lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.1
args: --print-resources-usage --timeout=10m --verbose