Skip to content

fix nil panic when hb is nil, for unit test purpose #9

fix nil panic when hb is nil, for unit test purpose

fix nil panic when hb is nil, for unit test purpose #9

Workflow file for this run

name: golang-ci
on:
push:
branches:
- main
pull_request:
jobs:
golangci:
name: GolangCI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: golangci-lint
run: |
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.57.2 golangci-lint run -v --timeout=3600s
- name: Run Gosec Security Scanner
uses: securego/gosec@55d79496019a560e16e73e1948dee20a1fad631a #v2.18.2