Skip to content

ci: added fetch depth to checkout to enable super linter v6 #269

ci: added fetch depth to checkout to enable super linter v6

ci: added fetch depth to checkout to enable super linter v6 #269

Workflow file for this run

name: ci
on:
push:
branches: main
pull_request:
branches: main
jobs:
build:
name: checks
runs-on: ubuntu-latest
steps:
- name: checkout
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: fmt
uses: JohnnyMorganz/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .
- name: lint
uses: github/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: /
VALIDATE_JSCPD: false
VALIDATE_DOCKERFILE: false
VALIDATE_DOCKERFILE_HADOLINT: false