@@ -27,11 +27,11 @@ jobs:
2727 - ubuntu-latest
2828
2929 steps :
30- - uses : actions/checkout@v5
30+ - uses : actions/checkout@v6
3131 name : Clone repository
3232
3333 - name : Set up Python ${{ matrix.python_version }}
34- uses : actions/setup-python@v5
34+ uses : actions/setup-python@v6
3535 with :
3636 python-version : ${{ matrix.python_version }}
3737
4444 - name : Lint with Pylint
4545 run : pylint PyFunceble
4646
47+ sec_check :
48+ name : Check the safety of the codebase with Bandit
49+
50+ runs-on : " ${{ matrix.os }}"
51+
52+ strategy :
53+ fail-fast : false
54+ matrix :
55+ python_version :
56+ - " 3.12"
57+ os :
58+ - ubuntu-latest
59+
60+ steps :
61+ - uses : actions/checkout@v6
62+ name : Clone repository
63+
64+ - name : Set up Python ${{ matrix.python_version }}
65+ uses : actions/setup-python@v6
66+ with :
67+ python-version : ${{ matrix.python_version }}
68+
69+ - name : Install dependencies
70+ run : |
71+ pip install --upgrade pip
72+ pip install .[test,dev]
73+
74+ - name : Check the safety of the codebase with Bandit
75+ run : bandit --ini=setup.cfg -r PyFunceble
76+
4777 test :
48- needs : [lint]
78+ needs : [lint, sec_check ]
4979 name : " [${{ matrix.os }}-py${{ matrix.python_version }}] Test Extension"
5080
5181 runs-on : " ${{ matrix.os }}"
@@ -65,11 +95,11 @@ jobs:
6595 - windows-latest
6696
6797 steps :
68- - uses : actions/checkout@v5
98+ - uses : actions/checkout@v6
6999 name : Clone repository
70100
71101 - name : Set up Python ${{ matrix.python_version }}
72- uses : actions/setup-python@v5
102+ uses : actions/setup-python@v6
73103 with :
74104 python-version : ${{ matrix.python_version }}
75105
@@ -104,11 +134,11 @@ jobs:
104134 - windows-latest
105135
106136 steps :
107- - uses : actions/checkout@v5
137+ - uses : actions/checkout@v6
108138 name : Clone repository
109139
110140 - name : Set up Python ${{ matrix.python_version }}
111- uses : actions/setup-python@v5
141+ uses : actions/setup-python@v6
112142 with :
113143 python-version : ${{ matrix.python_version }}
114144
@@ -143,11 +173,11 @@ jobs:
143173 - ubuntu-latest
144174
145175 steps :
146- - uses : actions/checkout@v5
176+ - uses : actions/checkout@v6
147177 name : Clone repository
148178
149179 - name : Set up Python ${{ matrix.python_version }}
150- uses : actions/setup-python@v5
180+ uses : actions/setup-python@v6
151181 with :
152182 python-version : ${{ matrix.python_version }}
153183
@@ -217,7 +247,7 @@ jobs:
217247 run : |
218248 echo "${{ secrets.AUR_SSH_KEY }}" | install -Dm600 /dev/stdin ~/.ssh/id_ed25519
219249
220- - uses : actions/checkout@v5
250+ - uses : actions/checkout@v6
221251 name : Clone repository
222252
223253 - name : Publish 📦 to the AUR - if necessary
0 commit comments