File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,27 +24,22 @@ jobs:
2424 runs-on : ubuntu-latest
2525 steps :
2626 - uses : actions/checkout@v2
27+ - name : Setup python
28+ uses : actions/setup-python@v2
29+ with :
30+ python-version : 3.8
2731 - name : Install poetry
2832 run : |
2933 curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
3034
31- - name : Install virtualenv
32- run : |
33- sudo apt-get update
34- sudo apt-get install python3-venv
35-
3635 - name : Install dependencies
3736 run : |
38- python3 -m venv /tmp/venv
39- source /tmp/venv/bin/activate
4037 env PATH="${PATH}:${HOME}/.poetry/bin" poetry install
4138
4239 - name : Run bandit
4340 run : |
44- source /tmp/venv/bin/activate
4541 env PATH="${PATH}:${HOME}/.poetry/bin" poetry run bandit -r streamson/
4642
4743 - name : Run safety
4844 run : |
49- source /tmp/venv/bin/activate
5045 env PATH="${PATH}:${HOME}/.poetry/bin" poetry run safety check
Original file line number Diff line number Diff line change 4545 matrix :
4646 os : [ubuntu-latest]
4747 python-version : ['3.6', '3.7', '3.8']
48- runs-on : ${{ matrix.os}}
48+ runs-on : ${{ matrix.os }}
4949 steps :
5050 - uses : actions/checkout@v2
5151 - name : Install rust nightly toolchain
You can’t perform that action at this time.
0 commit comments