Skip to content

[COMPLIANCE] Add Copyright and License Headers #364

[COMPLIANCE] Add Copyright and License Headers

[COMPLIANCE] Add Copyright and License Headers #364

Workflow file for this run

---
name: GoLang Linting
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/golint.yaml'
- 'vendor/**'
- '**.go'
jobs:
golint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: .go-version
- uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
version: 'v1.50.1'
args: -v
save-artifacts-on-fail:
if: ${{ needs.golint.result }} == 'failure'
uses: ./.github/workflows/save-artifacts.yaml