-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (34 loc) · 1.07 KB
/
static_code_analysis.yml
File metadata and controls
46 lines (34 loc) · 1.07 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
###############################################################################
name: Static Code Analysis
###############################################################################
# Trigger the jobs on:
# - A pull request is opened or a new commit is added to the pull request
# - A new release is created or a release is edited
on:
pull_request:
branches: [ main, development ]
types: [opened, synchronize]
release:
types: [published, edited]
###############################################################################
# Jobs to run
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Setup Project
run: |
make setup
- name: lint
run: |
make check_code_style
- name: type checking
run: |
make check_static_types
###############################################################################