File tree 7 files changed +44
-20
lines changed
7 files changed +44
-20
lines changed Original file line number Diff line number Diff line change
1
+ name : Security check - Bandit
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+
12
+ - name : Security check - Bandit
13
+ uses :
ioggstream/[email protected]
14
+ with :
15
+ project_path : src
16
+ # ignore_failure: true
17
+
18
+ # This is optional
19
+ # - name: Security check report artifacts
20
+ # uses: actions/upload-artifact@v4
21
+ # with:
22
+ # name: Security report
23
+ # path: output/security_report.txt
24
+
Original file line number Diff line number Diff line change 6
6
strategy :
7
7
fail-fast : false
8
8
matrix :
9
- python-version : [3.9 ]
9
+ python-version : [3.11 ]
10
10
11
11
steps :
12
12
# git checkout
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
14
14
15
15
# python setup
16
16
- name : Set up Python ${{ matrix.python-version }}
17
- uses : actions/setup-python@v1
17
+ uses : actions/setup-python@v5
18
18
with :
19
19
python-version : ${{ matrix.python-version }}
20
20
21
21
# python cache
22
- - uses : actions/cache@v1
22
+ - uses : actions/cache@v4
23
23
with :
24
24
path : ~/.cache/pip
25
25
key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Original file line number Diff line number Diff line change 6
6
strategy :
7
7
fail-fast : false
8
8
matrix :
9
- python-version : [3.9 ]
9
+ python-version : [3.11 ]
10
10
11
11
steps :
12
12
# git checkout
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
14
14
15
15
# python setup
16
16
- name : Set up Python ${{ matrix.python-version }}
17
- uses : actions/setup-python@v1
17
+ uses : actions/setup-python@v5
18
18
with :
19
19
python-version : ${{ matrix.python-version }}
20
20
21
21
# python cache
22
- - uses : actions/cache@v1
22
+ - uses : actions/cache@v4
23
23
with :
24
24
path : ~/.cache/pip
25
25
key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Original file line number Diff line number Diff line change 6
6
strategy :
7
7
fail-fast : false
8
8
matrix :
9
- python-version : [3.9 ]
9
+ python-version : [3.11 ]
10
10
11
11
steps :
12
12
# git checkout
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
14
14
15
15
# python setup
16
16
- name : Set up Python ${{ matrix.python-version }}
17
- uses : actions/setup-python@v1
17
+ uses : actions/setup-python@v5
18
18
with :
19
19
python-version : ${{ matrix.python-version }}
20
20
21
21
# python cache
22
- - uses : actions/cache@v1
22
+ - uses : actions/cache@v4
23
23
with :
24
24
path : ~/.cache/pip
25
25
key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ jobs:
11
11
python : ["3.9"]
12
12
plone : ["52"]
13
13
steps :
14
- - uses : actions/checkout@v1
14
+ - uses : actions/checkout@v4
15
15
- name : Cache eggs
16
- uses : actions/cache@v1
16
+ uses : actions/cache@v4
17
17
with :
18
18
path : eggs
19
19
key : ${{ runner.OS }}-build-python${{ matrix.python }}-${{ matrix.plone }}
20
20
- name : Set up Python ${{ matrix.python }}
21
- uses : actions/setup-python@v1
21
+ uses : actions/setup-python@v5
22
22
with :
23
23
python-version : ${{ matrix.python }}
24
24
- name : Install dependencies
Original file line number Diff line number Diff line change 11
11
- name : Install doctoc
12
12
run : |
13
13
sudo npm install -g doctoc
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v4
15
15
- name : Generate full TOC
16
16
run : |
17
17
doctoc --github --notitle README.md
Original file line number Diff line number Diff line change 6
6
strategy :
7
7
fail-fast : false
8
8
matrix :
9
- python-version : [3.9 ]
9
+ python-version : [3.11 ]
10
10
11
11
steps :
12
12
# git checkout
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
14
14
15
15
# python setup
16
16
- name : Set up Python ${{ matrix.python-version }}
17
- uses : actions/setup-python@v1
17
+ uses : actions/setup-python@v5
18
18
with :
19
19
python-version : ${{ matrix.python-version }}
20
20
21
21
# python cache
22
- - uses : actions/cache@v1
22
+ - uses : actions/cache@v4
23
23
with :
24
24
path : ~/.cache/pip
25
25
key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
You can’t perform that action at this time.
0 commit comments