File tree Expand file tree Collapse file tree 2 files changed +28
-8
lines changed Expand file tree Collapse file tree 2 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Snyk
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+
7+ jobs :
8+ security :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : snyk/actions/setup@master
14+
15+ - name : Set up Python 3.8
16+ uses : actions/setup-python@v2
17+ with :
18+ python-version : 3.8
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install .
23+
24+ - name : Run Snyk to check for vulnerabilities
25+ run : snyk monitor --file=setup.py --project-name=snowplow-python-tracker
26+ env :
27+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
Original file line number Diff line number Diff line change 3030
3131import os
3232
33- version_file_path = os .path .join (
34- os .path .dirname (__file__ ),
35- 'snowplow_tracker' ,
36- '_version.py'
37- )
38- exec (open (version_file_path ).read (), {}, locals ())
39-
4033authors_list = [
4134 'Anuj More' ,
4235 'Alexander Dean' ,
5144
5245setup (
5346 name = 'snowplow-tracker' ,
54- version = __version__ ,
47+ version = '0.8.3' ,
5548 author = authors_str ,
5649 author_email = authors_email_str ,
5750 packages = ['snowplow_tracker' , 'snowplow_tracker.test' ],
You can’t perform that action at this time.
0 commit comments