Skip to content

test: add unit test for main function #6846

test: add unit test for main function

test: add unit test for main function #6846

Workflow file for this run

name: Static Checks
on:
pull_request: {}
push: {}
jobs:
go_lint:
name: Go Lint
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.23.0
- uses: actions/checkout@master
- name: Run linter
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
args: -E=gofmt,unused,ineffassign,revive,misspell,copyloopvar,asciicheck,bodyclose,depguard,dogsled,dupl,durationcheck,errname,forbidigo -D=staticcheck --timeout=30m0s