Skip to content

Feature/44 improve GitHub ci workflow #7

Feature/44 improve GitHub ci workflow

Feature/44 improve GitHub ci workflow #7

Workflow file for this run

---
name: ktlint
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: "checkout"
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter/slim@v5
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}