Update CI (#19)
This commit is contained in:
15
.github/workflows/linting.yml
vendored
Normal file
15
.github/workflows/linting.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: linting
|
||||
on:
|
||||
push:
|
||||
jobs:
|
||||
format:
|
||||
name: Linting
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- run: sudo apt-get update
|
||||
- run: sudo apt-get install -y clang-format-14 cmake-format pre-commit
|
||||
- run: pre-commit run -a
|
||||
Reference in New Issue
Block a user