-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 977 Bytes
/
main.yml
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
name: Analyze
on:
push:
branches: [ '**' ]
pull_request:
branches: [ master ]
jobs:
bandit:
runs-on: ubuntu-24.04
name: bandit
steps:
- uses: actions/checkout@v2
- name: install
run: |
sudo apt update
sudo apt upgrade
sudo apt install python3
- name: info
run: |
python3 --version
- name: bandit
run: |
pip install bandit
bandit ./world-dl.py
pylint:
runs-on: ubuntu-24.04
name: pylint
steps:
- uses: actions/checkout@v2
- name: install
run: |
sudo apt update
sudo apt upgrade
sudo apt install python3 libgdal-dev
- name: info
run: |
python3 --version
- name: pylint
run: |
pip install "pylint" "numpy < 2.0.0" "requests" "argparse" "pysqlite3" "GDAL[numpy]==3.8.4" "tqdm"
pylint --disable=old-style-class --module-naming-style=any ./world-dl.py