Skip to content

Add ModelValidation OLM descriptors and scorecard example #387

Add ModelValidation OLM descriptors and scorecard example

Add ModelValidation OLM descriptors and scorecard example #387

Workflow file for this run

name: Linter
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
lint:
name: Run Linting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v5
with:
go-version-file: go.mod
cache: true
- name: Run golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
with:
version: v2.15.0
args: --timeout=5m --issues-exit-code=0 --verbose