Skip to content

Adding AIL labels to PR template #3820

Adding AIL labels to PR template

Adding AIL labels to PR template #3820

Workflow file for this run

name: PR golangci-lint
on:
pull_request:
types: [opened, edited, synchronize, reopened]
# Remove all permissions from GITHUB_TOKEN except metadata.
permissions: {}
jobs:
golangci:
name: kube-api-lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # tag=v7.0.1
name: Checkout code
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # tag=v7.0.0
with:
go-version-file: 'go.work'
- name: Install Golang CI Lint
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.11.4
- name: Build KAL
run: golangci-lint custom -v
- name: run api linter
env:
GOOS: js
GOARCH: wasm
run: ./bin/golangci-kube-api-linter run -c ./.golangci-kal.yml ./...