Skip to content

chore: split github actions in two files to have separated badges #1

chore: split github actions in two files to have separated badges

chore: split github actions in two files to have separated badges #1

Workflow file for this run

name: Lint source code
on: [push, pull_request]
jobs:
Run-Source-Code-Linters:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18' # Specify the Node.js version you need
- name: Install Clang-Format via npm
run: npm install -g clang-format
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install pre-commit
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit hooks
run: pre-commit run --all-files