Skip to content

fix: check if the shard exists to avoid returning nil #3533

fix: check if the shard exists to avoid returning nil

fix: check if the shard exists to avoid returning nil #3533

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- main
- v9
- v9.8
pull_request:
permissions:
contents: read
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/[email protected]
with:
verify: true