Skip to content

build(deps): bump actions/checkout from 6.0.1 to 6.0.2 #1547

build(deps): bump actions/checkout from 6.0.1 to 6.0.2

build(deps): bump actions/checkout from 6.0.1 to 6.0.2 #1547

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2
name: Checkout code
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # tag=v6.2.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.7.0
- name: Build KAL
run: golangci-lint custom -v
- name: run api linter
run: ./bin/golangci-kube-api-linter run -c ./.golangci-kal.yml ./...