Skip to content

set VALIDATE_GO to false, enabling VALIDATE_GO_MODULES #6

set VALIDATE_GO to false, enabling VALIDATE_GO_MODULES

set VALIDATE_GO to false, enabling VALIDATE_GO_MODULES #6

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
# super-linter sets both VALIDATE_GO_MODULES and VALIDATE_GO to "true" by default, so we need to
# set VALIDATE_GO as "false" so we analyze Go files in the context of a Go module.
# https://github.com/super-linter/super-linter/issues/5341
VALIDATE_GO: "false"
VALIDATE_CHECKOV: "false"
KUBERNETES_KUBECONFORM_OPTIONS: "--ignore-missing-schemas"
jobs:
build:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: super-linter
uses: super-linter/[email protected]
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}