Skip to content

Merge pull request #220 from vbnrh/controller-tests #1163

Merge pull request #220 from vbnrh/controller-tests

Merge pull request #220 from vbnrh/controller-tests #1163

Workflow file for this run

name: Lint Codebase
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
defaults:
run:
shell: bash
jobs:
golangci-lint:
name: Go ${{ matrix.go }} Lint
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.21' ]
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.57.0
kube-linter:
name: Kube YAML
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Lint
uses: stackrox/[email protected]
with:
directory: config/
config: .kube-linter-config.yaml