forked from diffkemp/diffkemp
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (41 loc) · 1.19 KB
/
Copy pathcode-style.yml
File metadata and controls
52 lines (41 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Code style
on: [push, pull_request]
jobs:
code-style-cpp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v21
- name: Check Coding Style
working-directory: ${{ github.workspace }}
shell: bash
run: nix develop . --command tools/check-clang-format.sh -d
code-style-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Dependencies
working-directory: ${{ github.workspace }}
shell: bash
run: pip install flake8
- name: Check Coding Style
working-directory: ${{ github.workspace }}
shell: bash
run: |
flake8 diffkemp tests
code-style-js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies
run: npm ci --prefix view
- name: Check coding style with ESLint
run: npm run lint --prefix view