mirror of https://github.com/helm/helm
27 lines
614 B
27 lines
614 B
name: golangci-lint
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
golangci:
|
|
name: golangci-lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # pin@v4.2.0
|
|
|
|
- name: Setup Go
|
|
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@5.0.2
|
|
with:
|
|
go-version: '1.22'
|
|
check-latest: true
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 #pin@6.1.1
|
|
with:
|
|
version: v1.58
|