Skip to content

Merge pull request #1875 from ratify-project/dev #38

Merge pull request #1875 from ratify-project/dev

Merge pull request #1875 from ratify-project/dev #38

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- main
- dev
- 1.0.0*
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: "1.22"
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.59.1
args: --timeout=10m