BH-4879 Added CLP core changes after backmerge #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |