Skip to content

Add git-cherry-pick pipeline #3600

Add git-cherry-pick pipeline

Add git-cherry-pick pipeline #3600

Workflow file for this run

name: verify
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: go.mod
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v3.1.0
with:
version: v1.58
args: --timeout=5m
- run: |
make docs-repo
git diff --exit-code
- run: |
make generate
go mod tidy
git diff --exit-code