Skip to content

[BCI-3989][common] - CR methods err when service unstarted #4698

[BCI-3989][common] - CR methods err when service unstarted

[BCI-3989][common] - CR methods err when service unstarted #4698

Workflow file for this run

name: Golangci-lint
on: [pull_request]
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: "go.mod"
- name: Build binary
shell: bash
run: go build ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
with:
version: v1.60.1
# only-new-issues is only applicable to PRs, otherwise it is always set to false
only-new-issues: true
args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml
- name: Print lint report artifact
if: failure()
shell: bash
run: cat ./golangci-lint-report.xml