Skip to content

BH-4879 Added CLP core changes after backmerge #14

BH-4879 Added CLP core changes after backmerge

BH-4879 Added CLP core changes after backmerge #14

name: clp-core-lint
on:
pull_request:
paths:
- ".github/workflows/clp-core-lint.yaml"
- "components/core/src/**"
- "components/core/Taskfile.yml"
- "components/core/tests/**"
push:
paths:
- ".github/workflows/clp-core-lint.yaml"
- "components/core/src/**"
- "components/core/Taskfile.yml"
- "components/core/tests/**"
workflow_dispatch:
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true
jobs:
clang-format:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
with:
submodules: "recursive"
- uses: "actions/setup-python@v5"
with:
python-version: "3.11"
- name: "Install task"
shell: "bash"
run: "npm install -g @go-task/cli"
- name: "Run lint task"
shell: "bash"
working-directory: "./components/core"
run: "task lint"