Skip to content

SEC-090: Automated trusted workflow pinning (2024-12-23) #666

SEC-090: Automated trusted workflow pinning (2024-12-23)

SEC-090: Automated trusted workflow pinning (2024-12-23) #666

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: .go-version
- uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
version: 'v1.54.2'
args: -v
save-artifacts-on-fail:
if: ${{ needs.golint.result }} == 'failure'
uses: ./.github/workflows/save-artifacts.yaml
comment-on-fail:
if: ${{ needs.golint.result }} == 'failure'
uses: ./.github/workflows/comment-failure.yaml