Skip to content

Bump github/super-linter from 4 to 5 (#14) #23

Bump github/super-linter from 4 to 5 (#14)

Bump github/super-linter from 4 to 5 (#14) #23

Workflow file for this run

---
name: Lint Code Base
on:
push:
branches-ignore: [ main ]
jobs:
# Lint project
lint:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.17"
- name: Lint Code Base
uses: github/super-linter@v5
env:
# Lint only changed files
VALIDATE_ALL_CODEBASE: false
VALIDATE_GO: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: (test.go|generated|vendor)